Another logging question.

The logger module knows about the default log level.
The main daemons all know about the configured logging level from the 
INI file and can set their respective logging instances to match the INI 
file level.

Other objects that import the logger module never set the logging level, 
so are using the default which is currently NOTSET meaning DEBUG level.

What is the best practice to make the logging level propagate to the 
rest of the program.


ps. This also explains why the system is so verbose and does not fully 
respect the logging levels that are set in the INI files.

Thank you,

X



------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Shinken-devel mailing list
Shinken-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/shinken-devel

Reply via email to