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

Attach Python logging messages to namespaced logger #18626

Open
kennknowles opened this issue Jun 3, 2022 · 0 comments
Open

Attach Python logging messages to namespaced logger #18626

kennknowles opened this issue Jun 3, 2022 · 0 comments

Comments

@kennknowles
Copy link
Member

The python SDK currently uses logging.(info|error|debug|etc) for log messages. This can be disruptive or unexpected when integrating the SDK into existing applications.

I would like to request updating the SDK to enforce automatic module based namespaces in python code (i.e. logger = logging.getLogger(__name__)) so that all apache_beam output can be controlled by an integrating application without the need to modify the root logging configuration.

I'd be happy to submit a PR for this myself.

Imported from Jira BEAM-3523. Original Jira may contain additional context.
Reported by: amilstead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants