Fix path in logger object

For addrmaps, the addrmaps appeared twice. It was better anyway to use a
variable name that gets build in create_underscored_path(). This method
was not yet present when the logger was first instantiated.
This commit is contained in:
Dennis Potter 2021-06-27 11:09:10 +02:00
parent 5ed7cccd7f
commit f50d65d2d2
Signed by: Dennis
GPG Key ID: 186A8AD440942BAF
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ class Component():
self.config = config
# Create logger object
self.create_logger("{}.{}".format(self.owning_addrmap, self.path), config)
self.create_logger("{}".format(self.full_path), config)
self.logger.debug('Starting to process {} "{}"'.format(
self.__class__.__name__,
obj.inst_name))