Skip to content

Logging improvements #1004

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Logging improvements #1004

wants to merge 2 commits into from

Conversation

alonbl
Copy link

@alonbl alonbl commented Apr 30, 2025

logging: Support extra context for LogRecord.

Extra context is usable to enrich log record with concrete context
additions.


logging: move exc_info to common log.

The keyword parameters are populated to common log and exc_info should be
common to all methods anyway.

This change the default to be exc_info=False for all cases similar to the
standard python.

alonbl added 2 commits April 30, 2025 17:42
Extra context is usable to enrich log record with concrete context
additions.

Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
The keyword parameters are populated to common log and exc_info should be
common to all methods anyway.

This change the default to be exc_info=False for all cases similar to the
standard python.

Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
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.

1 participant