[Feature]: Configuring the logging level
Is your feature request related to a problem?
Dashboard generates a large number of logs, many of which are useless. For example: 00:39:13 WARNING - get swap memory failed: The operation completed successfully.: this counter has not data 00:39:15 WARNING - get swap memory failed: The operation completed successfully.: this counter has not data 00:39:17 WARNING - get swap memory failed: The operation completed successfully.: this counter has not data And so it goes, round the clock.
Not all servers for 3x-ui are enterprise-grade machines. Many of them are ordinary old laptops and nettops with 16–32 GB SSDs. Logs are eating up old disks, yet a dashboard isn't really necessary for personal use.
Describe the solution you'd like
The log level should be configurable not only for display in the dashboard but also for writing to a file. It would be ideal if the recording of the system state could be disabled completely.
Alternatives you've considered
Option to change the log storage location.
Concrete use case
No response
Mockups, screenshots, or examples
No response
Which parts of the panel would this affect?
Frontend (UI / panel pages), Backend (API endpoints, login, settings), Statistics / traffic counters
Are you willing to help?
- I'd like to implement this feature myself and open a PR.
- I can help test once a PR is open.
Before submitting
- I searched existing issues and this feature has not been requested.
- This feature request is written in English.
Source: MHSanaei/3x-ui