]> git.ipfire.org Git - people/ms/libloc.git/commitdiff
location-importer.in: avoid log spam for too small networks
authorPeter Müller <peter.mueller@ipfire.org>
Wed, 21 Oct 2020 14:47:43 +0000 (14:47 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 27 Oct 2020 17:32:53 +0000 (17:32 +0000)
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/python/location-importer.in

index a869256e6fe6fe1b0a31edfd909a43f6a0a484ca..864eab12b329b9082f7279b6fb723f5a645cef02 100644 (file)
@@ -503,7 +503,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":
@@ -516,7 +516,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) == "::":