From a59668de87874a536f6674ee4a590f5665fccb87 Mon Sep 17 00:00:00 2001 From: Dennis Date: Sun, 16 May 2021 12:17:52 +0200 Subject: [PATCH] Ensure that component logs don't propagate to the root --- srdl2sv/components/component.py | 1 + 1 file changed, 1 insertion(+) diff --git a/srdl2sv/components/component.py b/srdl2sv/components/component.py index 2222488..32c1e83 100644 --- a/srdl2sv/components/component.py +++ b/srdl2sv/components/component.py @@ -27,6 +27,7 @@ class Component(): stream_log_level=config['stream_log_level'], file_log_level=config['file_log_level'], file_name=config['file_log_location']) + self.logger.propagate = False def get_ports(self, port_type: str): self.logger.debug("Return port list")