You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Luke Cwik (JIRA)" <ji...@apache.org> on 2016/07/18 15:20:20 UTC

[jira] [Created] (BEAM-462) Replace MonitoringUtil.PrintHandler with a handler that utilizes a Java logger

Luke Cwik created BEAM-462:
------------------------------

             Summary: Replace MonitoringUtil.PrintHandler with a handler that utilizes a Java logger
                 Key: BEAM-462
                 URL: https://issues.apache.org/jira/browse/BEAM-462
             Project: Beam
          Issue Type: Improvement
          Components: runner-dataflow
            Reporter: Luke Cwik
            Assignee: Luke Cwik
            Priority: Minor


The current PrintHandler in MonitoringUtil only supports output to a print stream.

It would be cleaner to instead have a LoggingHandler that can be used with normal Java logging.  The handler could translate the JobMessage importance to severity and thus allowing for formating/filtering to be determined by the logger instead of custom printing code.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)