You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Pablo Estrada (Jira)" <ji...@apache.org> on 2019/12/18 21:24:00 UTC

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

    [ https://issues.apache.org/jira/browse/BEAM-3523?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16999510#comment-16999510 ] 

Pablo Estrada commented on BEAM-3523:
-------------------------------------

I've started working on thjis

> 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
>            Priority: Minor
>
> 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
(v8.3.4#803005)