[
https://issues.apache.org/jira/browse/BEAM-3623?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16354256#comment-16354256
]
Luke Cwik commented on BEAM-3623:
---------------------------------
stdout/stderr should be used for all logging before connecting to the logging
API.
stdout/stderr should be used if logging APIĀ is unreachable.
> Python SDK Fn harness should not log to stderr for portable jobs
> ----------------------------------------------------------------
>
> Key: BEAM-3623
> URL: https://issues.apache.org/jira/browse/BEAM-3623
> Project: Beam
> Issue Type: Bug
> Components: sdk-py-harness
> Reporter: Henning Rohde
> Assignee: Robert Bradshaw
> Priority: Major
> Labels: portability
>
> We currently log both to stderr and the portable logging API, but we should
> do only the latter (and potentially fallback to stderr under failures).
> Otherwise, we're duplicating the log volume.
> Location where the Fn Logger is added:
> https://github.com/apache/beam/blob/f3dba1af43b03e24419fb0f5b726479368959eef/sdks/python/apache_beam/runners/worker/sdk_worker_main.py#L95
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)