From 9414a82551718af0fe39f665fdede4895d08dfd2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Vinot?= Date: Wed, 22 Mar 2023 14:10:51 +0100 Subject: [PATCH] chg: More logging --- bin/dbinsert.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/dbinsert.py b/bin/dbinsert.py index c63755b..ade1081 100755 --- a/bin/dbinsert.py +++ b/bin/dbinsert.py @@ -96,7 +96,7 @@ class DBInsertManager(AbstractManager): retry.append(uuid) continue if 'asn' in entry and entry['asn'] in [None, '0']: - self.logger.warning(f"Unable to find the AS number associated to {data['ip']} - {data['datetime']} (got {entry['asn']}).") + self.logger.warning(f"Unable to find the AS number associated to {data['ip']} - {data['datetime']} (got {entry['asn']}) - {entry}.") done.append(uuid) continue if 'prefix' in entry and entry['prefix'] in [None, '0.0.0.0/0', '::/0']: