You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Alex Milstead (JIRA)" <ji...@apache.org> on 2018/01/23 23:14:00 UTC

[jira] [Created] (BEAM-3523) Attach Python logging messages to namespaced logger

Alex Milstead created BEAM-3523:
-----------------------------------

             Summary: Attach Python logging messages to namespaced logger
                 Key: BEAM-3523
                 URL: https://issues.apache.org/jira/browse/BEAM-3523
             Project: Beam
          Issue Type: Improvement
          Components: sdk-py-core
            Reporter: Alex Milstead
            Assignee: Ahmet Altay


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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)