Skip to content

Commit

Permalink
feat: Make stream logger a child of the tap logger
Browse files Browse the repository at this point in the history
Closes #333
  • Loading branch information
edgarrmondragon committed Jul 19, 2023
1 parent e36da21 commit 9cc317f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion singer_sdk/streams/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def __init__(
msg = "Missing argument or class variable 'name'."
raise ValueError(msg)

self.logger: logging.Logger = tap.logger
self.logger: logging.Logger = tap.logger.getChild(self.name)
self.metrics_logger = tap.metrics_logger
self.tap_name: str = tap.name
self._config: dict = dict(tap.config)
Expand Down

0 comments on commit 9cc317f

Please sign in to comment.