Skip to content
Snippets Groups Projects
Commit 5e711af5 authored by Erik Reid's avatar Erik Reid
Browse files

added tmp workaround for debugging

parent 95ed4e5b
No related branches found
No related tags found
No related merge requests found
...@@ -15,4 +15,10 @@ def setup_logging(): ...@@ -15,4 +15,10 @@ def setup_logging():
'logging_default_config.json') 'logging_default_config.json')
filename = os.getenv('LOGGING_CONFIG', default_filename) filename = os.getenv('LOGGING_CONFIG', default_filename)
with open(filename) as f: with open(filename) as f:
logging.config.dictConfig(json.loads(f.read())) # TODO: this mac workaround should be removed ...
d = json.loads(f.read())
import platform
if platform.system() == 'Darwin':
d['handlers']['syslog_handler']['address'] = '/var/run/syslog'
logging.config.dictConfig(d)
# logging.config.dictConfig(json.loads(f.read()))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment