[Deluge] #3604: Fix log level tweaks from logging.conf

1 view
Skip to first unread message

Deluge

unread,
Jul 1, 2023, 11:20:49 AM7/1/23
to delug...@googlegroups.com
#3604: Fix log level tweaks from logging.conf
-------------------+------------------------------------------
Reporter: seblu | Type: bug
Status: new | Priority: minor
Milestone: 2.x | Component: Core
Version: 2.1.0 | Keywords: logging tweak_logging_levels
-------------------+------------------------------------------
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

--
Ticket URL: <https://dev.deluge-torrent.org/ticket/3604>
Deluge <https://deluge-torrent.org/>
Deluge Project

Deluge

unread,
Sep 18, 2023, 3:19:42 PM9/18/23
to delug...@googlegroups.com
#3604: Fix log level tweaks from logging.conf
--------------------+------------------------------------------
Reporter: seblu | Owner:
Type: bug | Status: closed
Priority: minor | Milestone: 2.1.2
Component: Core | Version: 2.1.0
Resolution: Fixed | Keywords: logging tweak_logging_levels
--------------------+------------------------------------------
Changes (by Cas):

* status: new => closed
* resolution: => Fixed
* milestone: 2.x => 2.1.2


Comment:

Thank you!

--
Ticket URL: <https://dev.deluge-torrent.org/ticket/3604#comment:1>

Reply all
Reply to author
Forward
0 new messages