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

Include location info in logging calls #33

Open
artgoldberg opened this issue Dec 26, 2019 · 1 comment
Open

Include location info in logging calls #33

artgoldberg opened this issue Dec 26, 2019 · 1 comment

Comments

@artgoldberg
Copy link
Contributor

artgoldberg commented Dec 26, 2019

Provide file, function & line number in logging calls. Unfortunately, logging2 doesn't support stacklevel (which logging added in 3.8), which would make this easy.
Submitted issue asking for stacklevel to logging2.

When working, put {source}:{function:s}:{line:d} in logger templates in debug log config files.

Also fix in wc_sim.

@artgoldberg
Copy link
Contributor Author

Based on response from the author of logging2, he won't be making further changes to the repo.

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