Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong log severity in Dataflow logs #19439

Open
kennknowles opened this issue Jun 4, 2022 · 0 comments
Open

Wrong log severity in Dataflow logs #19439

kennknowles opened this issue Jun 4, 2022 · 0 comments

Comments

@kennknowles
Copy link
Member

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:


<dependency>
    <groupId>org.slf4j</groupId>
    <artifactId>slf4j-simple</artifactId>
    <version>1.7.25</version>
</dependency>

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

 

referring issue in my project: allenday/nanostream-dataflow#58

Imported from Jira BEAM-6930. Original Jira may contain additional context.
Reported by: bushkovsky.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants