Commit 0de556a5 authored by Wolfgang Rohdewald's avatar Wolfgang Rohdewald

Logging without logdevice: print a hint on stdout with the path name of the logfile

parent 96d87122
......@@ -350,6 +350,7 @@ class __Internal:
if not haveDevLog:
# pylint: disable=redefined-variable-type
logName = os.path.join(appdataDir(), logName)
print('Logging into {}'.format(logName))
handler = logging.handlers.RotatingFileHandler(
logName, maxBytes=100000000, backupCount=10)
self.logger.addHandler(handler)
......
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