[8/8] location-importer.in: avoid log spam for too small networks

Message ID 20201021144743.18083-8-peter.mueller@ipfire.org
State Accepted
Commit ebb087cfa30ec5ca0c96dcce66a91245c1ffc271
Headers
Series [1/8] Revert "Revert "Revert "Revert "importer: Import raw sources for inetnum's again"""" |

Commit Message

Peter Müller Oct. 21, 2020, 2:47 p.m. UTC
  Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
---
 src/python/location-importer.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
  

Patch

diff --git a/src/python/location-importer.in b/src/python/location-importer.in
index 9946e64..036fff8 100644
--- a/src/python/location-importer.in
+++ b/src/python/location-importer.in
@@ -494,7 +494,7 @@  class CLI(object):
 				return False
 
 			if network.prefixlen > 24:
-				log.info("Skipping network too small to be publicly announced: %s" % network)
+				log.debug("Skipping network too small to be publicly announced: %s" % network)
 				return False
 
 			if str(network.network_address) == "0.0.0.0":
@@ -507,7 +507,7 @@  class CLI(object):
 				return False
 
 			if network.prefixlen > 48:
-				log.info("Skipping network too small to be publicly announced: %s" % network)
+				log.debug("Skipping network too small to be publicly announced: %s" % network)
 				return False
 
 			if str(network.network_address) == "::":