apache / apache/beam

Wrong log severity in Dataflow logs

Open
#19,439 0 comments 0 reactions 0 assignees View on GitHub
bug dataflow P3 runners
Dominant language
Java
Stars
8.7k
Forks
4.7k
Avg merge
1d 20h
Merged PRs (30d)
196

Description

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

org.slf4j
slf4j-simple
1.7.25

```

Logging:
```

private Logger LOG = LoggerFactory.getLogger(MakeAlignmentViaHttpFn.class);
...
LOG.info(String.format("Sending
Alignment request (#%s) with %d elements...", ...));

```

 

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

[https://user-images.githubusercontent.com/31351436/53070821-10e83f80-352c-11e9-93d2-bffeefaba6b8.png](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

Imported from Jira [BEAM-6930](https://issues.apache.org/jira/browse/BEAM-6930). Original Jira may contain additional context.
Reported by: bushkovsky.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.