mirror of
https://github.com/Silicon1602/srdl2sv.git
synced 2024-12-22 06:58:41 +00:00
Ensure that component logs don't propagate to the root
This commit is contained in:
parent
8d86010a0a
commit
a59668de87
@ -27,6 +27,7 @@ class Component():
|
|||||||
stream_log_level=config['stream_log_level'],
|
stream_log_level=config['stream_log_level'],
|
||||||
file_log_level=config['file_log_level'],
|
file_log_level=config['file_log_level'],
|
||||||
file_name=config['file_log_location'])
|
file_name=config['file_log_location'])
|
||||||
|
self.logger.propagate = False
|
||||||
|
|
||||||
def get_ports(self, port_type: str):
|
def get_ports(self, port_type: str):
|
||||||
self.logger.debug("Return port list")
|
self.logger.debug("Return port list")
|
||||||
|
Loading…
Reference in New Issue
Block a user