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

Log entries should use appenlight.tags #31

Open
wichert opened this issue Feb 26, 2016 · 0 comments
Open

Log entries should use appenlight.tags #31

wichert opened this issue Feb 26, 2016 · 0 comments

Comments

@wichert
Copy link
Contributor

wichert commented Feb 26, 2016

Currently appenlight has two completely separate ways to define tags:

  • the extrakeyword parameter for logging
  • appenlight.tags in the environ for everything else

This means that to get the same tags in logging you have to use extra=<something> to every single log statement in your code. That quickly becomes very painful to do and maintain.

I would like to see logging use appenlight.tags as well, allowing you to use the extra parameter to add or override tags.

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