Fix the --log-file option in the job handlers

(cherry picked from commit 97c344a17a)
This commit is contained in:
Devon Ryan
2018-07-09 12:46:22 -04:00
committed by Nate Coraor
parent 36706e9eb3
commit bc95f25636
+9
View File
@@ -662,6 +662,15 @@ class Configuration(object):
self.containers_conf = parse_containers_config(self.containers_config_file)
if kwargs.get("log_destination", None):
LOGGING_CONFIG_DEFAULT['handlers']['console'] = {
'class': 'logging.FileHandler',
'formatter': 'stack',
'level': 'DEBUG',
'filename': kwargs['log_destination'],
'filters': ['stack']
}
@property
def sentry_dsn_public(self):
"""