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).
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).