diff --git a/source/app/settings.py b/source/app/settings.py index aac7cae..1e68df6 100644 --- a/source/app/settings.py +++ b/source/app/settings.py @@ -38,6 +38,7 @@ format_string = '[{record.time:%d-%b-%Y %H:%M:%S}] ' \ '{record.channel}: ' \ '{record.message}' + if DEBUG: LOG_LEVEL = 'DEBUG' StreamHandler( @@ -53,6 +54,12 @@ else: level=LOG_LEVEL, format_string=format_string).push_application() + StreamHandler( + sys.stdout, + level=LOG_LEVEL, + format_string=format_string).push_application() + + log = Logger(LOG_NAME)