Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.20
-
None
Description
The logging module currently has shorthand switches for enabling categories of log messages. A convenience for the user would be a switch that disabled categories of log messages with similar syntax and effect. For example:
--log-enable debug+
enables debug and higher for all classes of log message.
Often the casual experimenting user would like to see debug or trace messages but not be crushed by a flood of Network and Management debug and trace messages. The proposal here is to add a switch like
-log-disable debug:Management
that would turn off messages from a class (like Management) at debug and lower level.
--log-disable would turn off logging the same way that --log-enable turns on logging. There are thirteen log categories and enabling only the ones you want is tedious.