summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoruser@node5.net <user@node5.net>2026-06-18 18:36:07 +0200
committeruser@node5.net <user@node5.net>2026-06-18 18:36:07 +0200
commitc4a19955f448cceb11ee5b3a882fcfcaf293bf3f (patch)
tree71ad161c8f0d753781563fa0fad1588e0007cc5d /src
parentf7989b2e9151b63b9ca7a62de5d3c24625b77da8 (diff)
refactor - switch print to logger as to avoid disk writing on prod machine
Diffstat (limited to 'src')
-rw-r--r--src/ssh_node5_net.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ssh_node5_net.py b/src/ssh_node5_net.py
index 0fc6bdb..aba8bd4 100644
--- a/src/ssh_node5_net.py
+++ b/src/ssh_node5_net.py
@@ -92,7 +92,7 @@ def get_chart():
} for index, (ip, data) in enumerate(by_ip.items())])
json_time = time.time()
- print(f'DB time: {db_time - start_time}\n'
+ logger.debug(f'DB time: {db_time - start_time}\n'
f'Processing time: {processing_time - db_time}\n'
f'Json time: {json_time - processing_time}')
return histogram_chartjs, histogram_labels