naparuba/shinken — pull request #529 by xkilian (2012-08-17 19:08:33+00:00)
Title: Print to logger, update level, messages et set default INFO

Mistakenly pushed default log level to ERROR, this will change it to INFO which makes more sense, so debugging messages are dropped for startup. This means that debug level messages are NEVER displayed in the startup portion unless the default log level is set to UNSET or DEBUG.

Better this than pollute the startup and miss errors or warnings.
Further cleanup:
- print to logger.xxx
- logger.log to logger.xxx
- Add [Module/daemon/something] to the start of messages to make it easier to filter messages. This could be an automated script to add the script.py name to the start of each log message unless there is already a [something] message.