mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Merge pull request #6351 from dpryan79/fixHandlerLogging
Fix the --log-file option in the job handlers
This commit is contained in:
@@ -723,6 +723,15 @@ class Configuration(object):
|
||||
'qualname': 'COMPLIANCE'
|
||||
}
|
||||
|
||||
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