Skip to content

Commit

Permalink
Fix the --log-file option in the job handlers
Browse files Browse the repository at this point in the history
  • Loading branch information
dpryan79 committed Jun 17, 2018
1 parent 6e02c9a commit 97c344a
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions lib/galaxy/config.py
Expand Up @@ -723,6 +723,16 @@ def __init__(self, **kwargs):
'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):
"""
Expand Down

0 comments on commit 97c344a

Please sign in to comment.