Ensure that component logs don't propagate to the root

This commit is contained in:
Dennis Potter 2021-05-16 12:17:52 +02:00
parent 8d86010a0a
commit a59668de87
Signed by: Dennis
GPG Key ID: 186A8AD440942BAF
1 changed files with 1 additions and 0 deletions

View File

@ -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")