Skip to content

Commit

Permalink
Use logging.getLogger()
Browse files Browse the repository at this point in the history
  • Loading branch information
christoph2 committed Jan 12, 2025
1 parent c32832a commit e14ab3e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pyxcp/master/master.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
.. [1] XCP Specification, Part 2 - Protocol Layer Specification
"""
import functools
import logging
import struct
import traceback
import warnings
Expand Down Expand Up @@ -69,7 +70,7 @@ def __init__(self, transport_name: Optional[str], config, policy=None, transport
self.ctr = 0
self.succeeded = True
self.config = config.general
self.logger = config.log
self.logger = logging.getLogger("PyXCP")
disable_error_handling(self.config.disable_error_handling)
self.transport_name = transport_name.lower()
transport_config = config.transport
Expand Down

0 comments on commit e14ab3e

Please sign in to comment.