diff --git a/main.py b/main.py index 5df7181..943b923 100755 --- a/main.py +++ b/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)) diff --git a/pylog.conf b/pylog.conf index bfb7337..47f3254 100644 --- a/pylog.conf +++ b/pylog.conf @@ -19,6 +19,7 @@ propagate=0 [handler_fileHandler] class=handlers.RotatingFileHandler +level=INFO args=('log/meshenger.log','a','maxBytes=10000','backupCount=5') formatter=simpleFormatter