You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Oleksandr Bushkovskyi (JIRA)" <ji...@apache.org> on 2019/03/28 13:56:00 UTC

[jira] [Created] (BEAM-6930) Wrong log severity in Dataflow logs

Oleksandr Bushkovskyi created BEAM-6930:
-------------------------------------------

             Summary: Wrong log severity in Dataflow logs
                 Key: BEAM-6930
                 URL: https://issues.apache.org/jira/browse/BEAM-6930
             Project: Beam
          Issue Type: Bug
          Components: runner-dataflow
         Environment: SDK version: Apache Beam SDK for Java 2.11.0
Job type: Streaming
            Reporter: Oleksandr Bushkovskyi


Hi, I'm not sure if this problem should be posted here, please correct me if it belongs to some GCP Dataflow specific issue tracker.

With a default logger configuration I see info logs as errors in GCP console.

Logger:
{code:java}
<dependency>
    <groupId>org.slf4j</groupId>
    <artifactId>slf4j-simple</artifactId>
    <version>1.7.25</version>
</dependency>
{code}
Logging:
{code:java}
private Logger LOG = LoggerFactory.getLogger(MakeAlignmentViaHttpFn.class);
...
LOG.info(String.format("Sending Alignment request (#%s) with %d elements...", ...));
{code}
 

Appears as "severity: ERROR" in GCP Console, see screenshot:

[https://user-images.githubusercontent.com/31351436/53070821-10e83f80-352c-11e9-93d2-bffeefaba6b8.png]

 

referring issue in my project: https://github.com/allenday/nanostream-dataflow/issues/58



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