Commit 32a3aad9 authored by Wolfgang Rohdewald's avatar Wolfgang Rohdewald

Logging without log device: do not hardcode kajongg.log, this might just as...

Logging without log device: do not hardcode kajongg.log, this might just as well be kajonggserver.log
parent 9a8c2ead
......@@ -348,7 +348,7 @@ class __Internal:
if not haveDevLog:
# pylint: disable=redefined-variable-type
handler = logging.handlers.RotatingFileHandler(
'kajongg.log', maxBytes=100000000, backupCount=10)
logName, maxBytes=100000000, backupCount=10)
self.logger.addHandler(handler)
self.logger.addHandler(logging.StreamHandler(sys.stderr))
self.logger.setLevel(logging.DEBUG)
......
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