Commit 1c09d9ca by John Jarvis

For prod environments only log info and up

parent f525b17b
...@@ -117,6 +117,9 @@ def get_logger_config(log_dir, ...@@ -117,6 +117,9 @@ def get_logger_config(log_dir,
}, },
}) })
else: else:
# for production environments we will only
# log INFO and up
logger_config['loggers']['']['level'] = 'INFO'
logger_config['handlers'].update({ logger_config['handlers'].update({
'local': { 'local': {
'level': local_loglevel, 'level': local_loglevel,
......
Markdown is supported
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