From 9e25cff43cfe9fd0a5bec9eb53d0d771b4e1b0df Mon Sep 17 00:00:00 2001
From: Panagiotis Famelis <pfamelis@ubitech.eu>
Date: Wed, 1 Feb 2023 16:02:16 +0200
Subject: [PATCH] fix: remove debug loggers

---
 src/device/service/Tools.py                | 1 -
 src/device/service/drivers/p4/p4_driver.py | 2 --
 2 files changed, 3 deletions(-)

diff --git a/src/device/service/Tools.py b/src/device/service/Tools.py
index 17edcfaf9..11a2e49b8 100644
--- a/src/device/service/Tools.py
+++ b/src/device/service/Tools.py
@@ -83,7 +83,6 @@ def populate_endpoints(device : Device, driver : _Driver, monitoring_loops : Mon
     results_getconfig = driver.GetConfig(resources_to_get)
 
     errors : List[str] = list()
-    LOGGER.warning(results_getconfig)
     for endpoint in results_getconfig:
         if len(endpoint) != 2:
             errors.append(ERROR_BAD_ENDPOINT.format(device_uuid, str(endpoint)))
diff --git a/src/device/service/drivers/p4/p4_driver.py b/src/device/service/drivers/p4/p4_driver.py
index 07998242c..4e13b93e4 100644
--- a/src/device/service/drivers/p4/p4_driver.py
+++ b/src/device/service/drivers/p4/p4_driver.py
@@ -201,8 +201,6 @@ class P4Driver(_Driver):
         chk_type("resources", resource_keys, list)
 
         with self.__lock:
-            LOGGER.warning(resource_keys)
-            LOGGER.warning(self.__get_resources(resource_keys))
             return self.__get_resources(resource_keys)
 
     @metered_subclass_method(METRICS_POOL)
-- 
GitLab