[SEBA-314]
Remove the trace log level
Change-Id: I76a644e2f8f095b53799e9380b8930f6c4c96abb
diff --git a/lib/xos-synchronizer/xossynchronizer/event_loop.py b/lib/xos-synchronizer/xossynchronizer/event_loop.py
index 6df3fab..5cbfda9 100644
--- a/lib/xos-synchronizer/xossynchronizer/event_loop.py
+++ b/lib/xos-synchronizer/xossynchronizer/event_loop.py
@@ -100,13 +100,13 @@
try:
if Config.get("dependency_graph"):
- self.log.trace(
+ self.log.debug(
"Loading model dependency graph",
path=Config.get("dependency_graph"),
)
dep_graph_str = open(Config.get("dependency_graph")).read()
else:
- self.log.trace("Using default model dependency graph", graph={})
+ self.log.debug("Using default model dependency graph", graph={})
dep_graph_str = "{}"
# joint_dependencies is of the form { Model1 -> [(Model2, src_port, dst_port), ...] }
@@ -138,7 +138,7 @@
True: model_dependency_graph_rev,
False: model_dependency_graph,
}
- self.log.trace("Loaded dependencies", edges=model_dependency_graph.edges())
+ self.log.debug("Loaded dependencies", edges=model_dependency_graph.edges())
except Exception as e:
self.log.exception("Error loading dependency graph", e=e)
raise e
@@ -410,9 +410,9 @@
return
while True:
- self.log.trace("Waiting for event or timeout")
+ self.log.debug("Waiting for event or timeout")
self.wait_for_event(timeout=5)
- self.log.trace("Synchronizer awake")
+ self.log.debug("Synchronizer awake")
self.run_once()
@@ -449,7 +449,7 @@
# This needs to be dropped soon.
pending_steps.append(step)
- self.log.trace(
+ self.log.debug(
"Fetched pending data",
pending_objects=pending_objects,
legacy_steps=pending_steps,
@@ -664,7 +664,7 @@
)
threads = []
- self.log.trace("In run once inner loop", deletion=deletion)
+ self.log.debug("In run once inner loop", deletion=deletion)
for cohort in dependent_cohorts:
thread = threading.Thread(