Opened 12 months ago

Closed 9 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:


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:

Change History (1)

comment:1 Changed 9 months ago by Cas

  • Milestone changed from 2.x to 2.1.2
  • Resolution set to Fixed
  • Status changed from new to closed

Thank you!

Note: See TracTickets for help on using tickets.