Skip to content

[docs] Add guide to avoid logs from the default logger #195

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

Merged
merged 1 commit into from
Jan 16, 2024

Conversation

BewareMyPower
Copy link
Contributor

Fixes #194

Motivation

When the Python logger is configured as the logger, during the exit process of a Python script, the default logger will be used for logging instead because the Python logger is unavailable after the interpreter is finalized. It might lead to some unexpected outputs to standard output.

Fixes apache#194

### Motivation

When the Python logger is configured as the logger, during the exit
process of a Python script, the default logger will be used for logging
instead because the Python logger is unavailable after the interpreter
is finalized. It might lead to some unexpected outputs to standard
output.
@BewareMyPower BewareMyPower self-assigned this Jan 16, 2024
@BewareMyPower BewareMyPower added the documentation Improvements or additions to documentation label Jan 16, 2024
@BewareMyPower BewareMyPower added this to the 3.5.0 milestone Jan 16, 2024
@BewareMyPower
Copy link
Contributor Author

image

@merlimat merlimat merged commit f9b2d16 into apache:main Jan 16, 2024
@BewareMyPower BewareMyPower deleted the bewaremypower/python-log-docs branch January 16, 2024 06:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Custom logger doesn't work with created resources (like producers)
2 participants