Commit cb6212b1 authored by Sascha Herzinger's avatar Sascha Herzinger
Browse files

Fixed werkzeug logging

parent a52b91c4
......@@ -14,7 +14,7 @@ handlers:
encoding: utf8
class: logging.StreamHandler
level: WARNING
level: DEBUG
formatter: default
......@@ -30,6 +30,8 @@ app.config['CELERY_TASK_RESULT_EXPIRES'] =\
with open(app.config['FRACTALIS_LOG_CONFIG'], 'rt') as f:
log_config = yaml.safe_load(
log_level = logging._nameToLevel[log_config['handlers']['default']['level']]
log = logging.getLogger(__name__)
# we can't log this earlier because the logger depends on the loaded app config
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment