Skip to content

Commit ab7ebcb

Browse files
Some logging changes
1 parent e8199cb commit ab7ebcb

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

netprobe.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848

4949
cache.redis_write('netprobe',json.dumps(stats),cache_interval)
5050

51-
logger.info(f"Stats successfully written to Redis from device ID for Netprobe")
51+
#logger.info(f"Stats successfully written to Redis from device ID for Netprobe")
5252

5353
except Exception as e:
5454

netprobe_speedtest.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
logger = setup_logging("logs/speedtest.log")
2323

2424
if speedtest_enabled == True:
25+
2526
while True:
2627

2728
try:
@@ -57,4 +58,4 @@
5758
time.sleep(speedtest_interval)
5859

5960
else:
60-
logger.info("Speedtest disabled")
61+
exit()

0 commit comments

Comments
 (0)