summaryrefslogtreecommitdiffstats
path: root/src/utils/cache.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/cache.py')
-rw-r--r--src/utils/cache.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/utils/cache.py b/src/utils/cache.py
index 150a5df..3bd4053 100644
--- a/src/utils/cache.py
+++ b/src/utils/cache.py
@@ -6,6 +6,7 @@
# Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
+import logging
import os
from src.utils.fs import mount_mkdir, umount
@@ -45,7 +46,7 @@ def write_cache_txt(content):
"""
client_ip = getifaddr(os.getenv('DEVICE'))
with open(OGCLIENT_LOG_CACHE.format(ip=client_ip), 'w') as f:
- print("About to write")
+ logging.debug('Writing cache contents to %s.cache.txt', client_ip)
f.write(content)
def generate_cache_txt():