[GH-ISSUE #713] access.log in log parameter in config.json #457

Closed
opened 2026-10-31 20:12:09 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @badmast on GitHub (Jul 8, 2023).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/713

Welcome

  • Yes, I'm using the latest major release. Only such installations are supported.
  • Yes, I'm using the supported system. Only such systems are supported.
  • Yes, I have read all WIKI document,nothing can help me in my problem.
  • Yes, I've searched similar issues on GitHub and didn't find any.
  • Yes, I've included all information below (version, config, log, etc).

Description of the problem,screencshot would be good

The system log is filled with the following error:
Jul 08 10:59:07 ip-***-***-***-*** x-ui[9447]: 2023/07/08 10:59:07 WARNING - access.log doesn't exist in your config.json
even if I stop the service and complete the log block in config.json as follows:

  "log": {
    "loglevel": "warning",
    "access": "./access.log",
    "error": "./error.log"
  },

the block changes back to the following after I start the service again:

  "log": {
    "loglevel": "warning"
  },

and the errors are still occurring.

Version of 3x-ui

3X: [v1.7.0]

x-ui log reports or xray log

Jul 08 10:57:07 ip-172-26-13-169 x-ui[9447]: 2023/07/08 10:57:07 WARNING - access.log doesn't exist in your config.json

Originally created by @badmast on GitHub (Jul 8, 2023). Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/713 ### Welcome - [X] Yes, I'm using the latest major release. Only such installations are supported. - [X] Yes, I'm using the supported system. Only such systems are supported. - [X] Yes, I have read all WIKI document,nothing can help me in my problem. - [X] Yes, I've searched similar issues on GitHub and didn't find any. - [X] Yes, I've included all information below (version, config, log, etc). ### Description of the problem,screencshot would be good The system log is filled with the following error: `Jul 08 10:59:07 ip-***-***-***-*** x-ui[9447]: 2023/07/08 10:59:07 WARNING - access.log doesn't exist in your config.json ` even if I stop the service and complete the log block in `config.json` as follows: ``` "log": { "loglevel": "warning", "access": "./access.log", "error": "./error.log" }, ``` the block changes back to the following after I start the service again: ``` "log": { "loglevel": "warning" }, ``` and the errors are still occurring. ### Version of 3x-ui <details> 3X: [v1.7.0] </details> ### x-ui log reports or xray log <details> Jul 08 10:57:07 ip-172-26-13-169 x-ui[9447]: 2023/07/08 10:57:07 WARNING - access.log doesn't exist in your config.json </details>
Author
Owner

@badmast commented on GitHub (Jul 9, 2023):

I have found the solution. Updating the database and the configuration simultaneously is necessary.

<!-- gh-comment-id:1627831085 --> @badmast commented on GitHub (Jul 9, 2023): I have found the solution. Updating the database and the configuration simultaneously is necessary.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
MHSanaei/3x-ui#457
No description provided.