You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2022/06/03 19:30:56 UTC

[GitHub] [beam] kennknowles opened a new issue, #18626: Attach Python logging messages to namespaced logger

kennknowles opened a new issue, #18626:
URL: https://github.com/apache/beam/issues/18626

   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](https://issues.apache.org/jira/browse/BEAM-3523). Original Jira may contain additional context.
   Reported by: amilstead.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org