summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfgang Rohdewald <[email protected]>2017-10-24 11:33:03 +0200
committerWolfgang Rohdewald <[email protected]>2017-10-24 11:33:03 +0200
commit0de556a5d04899452e18265c544fd6015e544dfc (patch)
tree6d6d965a36009217a89eaad6079105ca09775cbc
parent96d87122cba9f6f527d24ccfb3e58ef63d681219 (diff)
Logging without logdevice: print a hint on stdout with the path name of the logfile
-rw-r--r--src/common.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common.py b/src/common.py
index d7ea959..9b9a1b1 100644
--- a/src/common.py
+++ b/src/common.py
@@ -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)