Commit a69753e1 authored by James Coyle's avatar James Coyle

fix for central logger

parent 7414e165
Pipeline #1109 failed with stages
in 4 seconds
......@@ -20,7 +20,7 @@ def get_version():
return version.__version__
def get_log():
def setup_logger():
global log
if (log == None):
......@@ -32,7 +32,6 @@ def get_log():
consoleHandler.setFormatter(logFormatter)
rootLogger.addHandler(consoleHandler)
return log
def cleanup_json(json):
json = re.sub(r'(?<!https:)//.*', '', json, flags = re.MULTILINE)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment