Use correct logger when setting pyroute2 log level
@@ -351,8 +351,8 @@ class CNIDaemonServiceManager(cotyledon.ServiceManager):
def run(self):
# FIXME(darshna): Remove pyroute2 IPDB deprecation warning, remove
# once we stop using pyroute2.IPDB.
-
logging.getLogger('pyroute2').setLevel(logging.ERROR)
+ logging.getLogger('pr2modules.ipdb.main').setLevel(logging.ERROR)
reaper_thread = threading.Thread(target=self._zombie_reaper,
daemon=True)
