Opened 16 months ago
Closed 13 months ago
#3604 closed bug (Fixed)
Fix log level tweaks from logging.conf
Reported by: | seblu | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 2.1.2 |
Component: | Core | Version: | 2.1.0 |
Keywords: | logging tweak_logging_levels | Cc: |
Description
When you set a config directory path (-c) on the command line, and only when, a file named logging.conf is read to set fine grained log levels. This allows to have per module/plugin log levels.
The file is parsed and the log levels are set in the deluge.log.tweak_logging_levels. This function set the appropriate logger to the desired level. Despite the log level is changed, log levels less than ERROR are still not logged.
The reason is that the log level check is done twice, in the logging.Logger class and in the logging.Handler class.
Fix proposed: https://github.com/deluge-torrent/deluge/pull/428
Change History (1)
comment:1 by , 13 months ago
Milestone: | 2.x → 2.1.2 |
---|---|
Resolution: | → Fixed |
Status: | new → closed |
Thank you!