logging tweaks

This commit is contained in:
jngrt 2014-11-06 15:41:35 +01:00
parent e4e8b7cf00
commit 857b1c4d82
2 changed files with 2 additions and 1 deletions

View File

@ -60,7 +60,7 @@ class Meshenger:
sys.exit()
while True:
logger.info('Entering main loop')
logger.debug('Entering main loop')
#
if len(self.devices) > 0:
logger.info('found %s device(s)', len(self.devices))

View File

@ -19,6 +19,7 @@ propagate=0
[handler_fileHandler]
class=handlers.RotatingFileHandler
level=INFO
args=('log/meshenger.log','a','maxBytes=10000','backupCount=5')
formatter=simpleFormatter