#979 Use the LOG_LEVEL config value to set the default level for the APP.logger and StreamHandler
Merged by pingou. Opened by nmfm.
nmfm/pagure log_level_config  into  master

Download 979.patch

Converting LOG_LEVEL to uppercase as Flask only reads keys in uppercase from the config file.

Also using it to set the level in APP.logger. I'm using 'INFO' as a default here as well, hope it's not a problem (in my machine, getEffectiveLevel() was returning WARNING when the level was not set directly in the logger).

Looks good to me, would you mind rebasing the PR on the top of the current master? I try to keep the history linear :)

rebased

Sure. Rebased :)

Thanks :)

Pull-Request has been merged by pingou

Metadata