Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pass service identity as logger name #101

Merged
merged 1 commit into from
Jan 12, 2021
Merged

Pass service identity as logger name #101

merged 1 commit into from
Jan 12, 2021

Conversation

chivay
Copy link
Contributor

@chivay chivay commented Jan 12, 2021

When using loggers other than the default (getLogger(self.identity)), name in LogRecord will be wrong and routed as other origin.
Pass the identity explicitly to fix this

@chivay chivay merged commit 7f2116b into master Jan 12, 2021
@nazywam nazywam deleted the log-handler branch January 22, 2021 09:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants