improved logging system

Bug #417879 reported by reacocard
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Exaile
Fix Released
Wishlist
Mathias Brodala

Bug Description

We should improve the logging system by allowing it to filter different modules at different levels of output according to commandline parameters. This would make it vastly easier to debug particular modules by pruning unneeded messages and allowing us to increase the number of logging messages.

These are probably helpful: http://docs.python.org/library/logging.html#filter-objects

Related branches

reacocard (reacocard)
Changed in exaile:
milestone: 0.3.1 → 0.3.2
reacocard (reacocard)
Changed in exaile:
milestone: 0.3.2 → 0.3.3
Revision history for this message
Mathias Brodala (mathbr) wrote :

For this we’d need a centralized place for logging since filters can only be applied per-logger.

Revision history for this message
Mathias Brodala (mathbr) wrote :

Fixed with r3486. Two new CLI options --modulefilter=MODULE and --levelfilter=LEVEL have been added for this. They override all other output related options.

Changed in exaile:
assignee: nobody → Mathias Brodala (mathbr)
status: Confirmed → Fix Committed
Changed in exaile:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.