Skip to content
Snippets Groups Projects
Commit fb4db6c9 authored by yingliu4203's avatar yingliu4203 Committed by Simon Lejeune
Browse files

[FIX] Packaging: Wndows: wrong handler used when logging to file

parent 29e08a27
No related branches found
No related tags found
No related merge requests found
......@@ -160,7 +160,7 @@ def init_logger():
elif os.name == 'posix':
handler = logging.handlers.WatchedFileHandler(logf)
else:
handler = logging.handlers.FileHandler(logf)
handler = logging.FileHandler(logf)
except Exception:
sys.stderr.write("ERROR: couldn't create the logfile directory. Logging to the standard output.\n")
handler = logging.StreamHandler(sys.stdout)
......
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