logging tweaks
This commit is contained in:
parent
e4e8b7cf00
commit
857b1c4d82
2
main.py
2
main.py
@ -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))
|
||||
|
@ -19,6 +19,7 @@ propagate=0
|
||||
|
||||
[handler_fileHandler]
|
||||
class=handlers.RotatingFileHandler
|
||||
level=INFO
|
||||
args=('log/meshenger.log','a','maxBytes=10000','backupCount=5')
|
||||
formatter=simpleFormatter
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user