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

java util FileHandler INFO/DEBUG logs printing as STDERR #175

Open
RajeshMalla opened this issue Feb 26, 2020 · 2 comments
Open

java util FileHandler INFO/DEBUG logs printing as STDERR #175

RajeshMalla opened this issue Feb 26, 2020 · 2 comments

Comments

@RajeshMalla
Copy link

We have implemented simple spring boot application with java.util.logging, when we start application with docker run -p 8080:8080 -t springio/gs-spring-boot-docker
everything showing as "stdout", where as if we remove option "-t" and re-run then it is able to print "System.err.println" as STDERR and remaining all are in stdout.
Posted similar question in stackoverflow : https://stackoverflow.com/questions/60393953/docker-json-logging-driver-spring-boot-application

I understand this might be process to create issue, or this may be related to forums. but still want to know answer. Can anybody help us how to instruct docker to distinguish b/w stdout and stderr ?

@RajeshMalla
Copy link
Author

I will check my application and will report if necessary

@RajeshMalla
Copy link
Author

Can anybody please help me on this defect.

@RajeshMalla RajeshMalla reopened this Feb 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant