fix logrotate functionality
[logparse.git] / logparse / parsers / temperature.py
index 9d08119b59755e23a2708ba32fa67f503c9eee68..d1d4058b0f88719544ee04c86f2ee80ea100a1a7 100644 (file)
@@ -110,7 +110,7 @@ def parse_log():
             section.append_data(temp_data)
 
     finally:
-        logger.info("Finished reading onboard temperatures")
+        logger.debug("Finished reading onboard temperatures")
         sensors.cleanup()
 
 
@@ -141,7 +141,7 @@ def parse_log():
     logger.debug("Sum of temperatures: {}; Number of drives: {}; => Avg disk temp is {}".format(str(sumtemp), str(len(drives)), hddavg)) 
     hddtemp_data.subtitle += " (avg {0}{1}{2})".format(str(hddavg), DEG, CEL)
 
-    logger.info("Finished processing drive temperatures")
-
+    logger.debug("Finished processing drive temperatures")
     logger.info("Finished temp section")
+
     return section