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 23:51:30 UTC

[GitHub] [beam] kennknowles opened a new issue, #19385: Logs include exception="None\n" when there is no exception

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

   All python SDK logs emit an exception field even when there is no exception. Weirdly, the field is "None\n" with a trailing newline that does not appear in any other field. This field should be omitted when there is no exception, so that searches for "exception" will not return so many spurious results
   
   Example from stackdriver logging in a python job using dataflow runner:
   
    jsonPayload: {
       exception: "None
   " 
       job: "2019-03-28_18_01_16-4563580283031363654" 
       logger: "root:cloud_logging.py:EmitLogMessages" 
       message: "baz" 
       stage: "s01" 
       step: "EmitLogs" 
       thread: "132:139730156779264" 
       worker: "df2-cloud-logging-python\--03281801-ilme-harness-7sw5" 
   }
   
   Imported from Jira [BEAM-6941](https://issues.apache.org/jira/browse/BEAM-6941). Original Jira may contain additional context.
   Reported by: edre.


-- 
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


[GitHub] [beam] Abacn commented on issue #19385: Logs include exception="None\n" when there is no exception

Posted by GitBox <gi...@apache.org>.
Abacn commented on issue #19385:
URL: https://github.com/apache/beam/issues/19385#issuecomment-1159261558

   no longer observed. And this is handled in Dataflow but not Beam sdk
   
   .close-issue


-- 
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

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


[GitHub] [beam] github-actions[bot] closed issue #19385: Logs include exception="None\n" when there is no exception

Posted by GitBox <gi...@apache.org>.
github-actions[bot] closed issue #19385: Logs include exception="None\n" when there is no exception
URL: https://github.com/apache/beam/issues/19385


-- 
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

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