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

extra field filled at runtime #3

Open
mfrata opened this issue Mar 23, 2021 · 0 comments
Open

extra field filled at runtime #3

mfrata opened this issue Mar 23, 2021 · 0 comments

Comments

@mfrata
Copy link
Collaborator

mfrata commented Mar 23, 2021

@mfrata is it possible to use an extra field filled at runtime? Example:

$ export LOG_EXTRA_FIELDS='{"client_id": "%(client_id)s"}'

>>> from lodge import log
>>> log.error("some error", client_id=1)

or does it make sense?

Originally posted by @brenocosta0901 in #1 (comment)

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

No branches or pull requests

1 participant