Skip to content

Commit

Permalink
Update logger_object.py
Browse files Browse the repository at this point in the history
removed unused object assignment
  • Loading branch information
jchristel committed Dec 1, 2024
1 parent b30003f commit df9359e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/duHast/Utilities/Objects/logger_object.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,6 @@ def __init__(
# Create logger object
self.new_logger = logging.getLogger(self.log_name)
self.init_handlers()
self.logger_object = self.new_logger

def clear_handlers(self):
"""
Expand Down Expand Up @@ -167,7 +166,7 @@ def get_logger_obj(self):
:rtype: logging.Logger
"""

return self.logger_object
return self.new_logger

def update_log_level(self, log_level):
"""
Expand Down

0 comments on commit df9359e

Please sign in to comment.