Skip to content

add additional context with the standard library logging module #7

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

Closed
jaredmcqueen opened this issue Apr 23, 2020 · 1 comment · Fixed by #8
Closed

add additional context with the standard library logging module #7

jaredmcqueen opened this issue Apr 23, 2020 · 1 comment · Fixed by #8

Comments

@jaredmcqueen
Copy link

Is it possible to add additional context using the standard library logging module?

In other libraries like python-json-logger, there is a concept of an extra field. My goal is to add some additional context like event.id more easily to the logged message without binding to a structlog

@sethmlarson
Copy link
Contributor

Good idea! I'll look into implementing this :)

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 a pull request may close this issue.

2 participants