chg: More logging
parent
b614d9bd15
commit
9414a82551
|
@ -96,7 +96,7 @@ class DBInsertManager(AbstractManager):
|
||||||
retry.append(uuid)
|
retry.append(uuid)
|
||||||
continue
|
continue
|
||||||
if 'asn' in entry and entry['asn'] in [None, '0']:
|
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)
|
done.append(uuid)
|
||||||
continue
|
continue
|
||||||
if 'prefix' in entry and entry['prefix'] in [None, '0.0.0.0/0', '::/0']:
|
if 'prefix' in entry and entry['prefix'] in [None, '0.0.0.0/0', '::/0']:
|
||||||
|
|
Loading…
Reference in New Issue