From 8402626d70825eef004f4768c8b56a043daaf5c7 Mon Sep 17 00:00:00 2001 From: Marat Fayzullin Date: Thu, 19 Oct 2023 11:03:59 -0400 Subject: [PATCH] Silencing EIBI warnings. --- owrx/eibi.py | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/owrx/eibi.py b/owrx/eibi.py index e4929ddd..08a8b63b 100644 --- a/owrx/eibi.py +++ b/owrx/eibi.py @@ -195,7 +195,9 @@ class EIBI(object): src = entry["src"] if src not in EIBI_Locations: # Warn if location not found - logger.debug("Location '{0}' for '{1}' not found!".format(src, entry["name"])) + # @@@ Too much output here + #logger.debug("Location '{0}' for '{1}' not found!".format(src, entry["name"])) + pass else: # Compute TTL for the entry ttl = ts + ( @@ -275,7 +277,9 @@ class EIBI(object): src = entry["src"] if src not in EIBI_Locations: # Warn if location not found - logger.debug("Location '{0}' for '{1}' not found!".format(src, entry["name"])) + # @@@ Too much output here + #logger.debug("Location '{0}' for '{1}' not found!".format(src, entry["name"])) + pass else: # Find closest source for loc in EIBI_Locations[src]: @@ -3029,7 +3033,8 @@ for code in EIBI_Locations.keys(): if x >= 0: itu = code[:x] if itu not in EIBI_Locations and itu not in MORE_Locations: - logger.debug("Assuming '{0}' location stands for '{1}'...".format(code, itu)) + # @@@ Too much output here + #logger.debug("Assuming '{0}' location stands for '{1}'...".format(code, itu)) MORE_Locations[itu] = EIBI_Locations[code] EIBI_Locations.update(MORE_Locations)