mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-10-25 00:12:08 +08:00
Fix the --log-file option in the job handlers
(cherry picked from commit 97c344a17a)
This commit is contained in:
@@ -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):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user