-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
System.out.println entries are not captured in quarkus.log #6766
Comments
Why would they be? I don't think that it's a bug, it's expected. |
I picked bug type as it looks like a regression to me. On WF I see This could be considered as enhancement for sure. |
Well, I don't see that as an enhancement personally but I'll let @dmlloyd decide. |
We implemented that at user request. But Quarkus would not want to do that (by default at least) because several classes of application may need clean access to stdin/stdout, particularly applications running in certain kinds of containers and CLI applications. That said, it might be worth having a configuration switch or even an extension which grabs stdout and/or stderr. |
I'm trying to use the Azure Application Insights Java agent with quarkus which writes all it's logs to stderr. Please add a way to see what gets logged to stdout and stderr. |
Never mind, I can see them in the console log when I increase the Application Insights log level. |
He have an Quarkus application which uses some libraries with printing information into stdout. Is there any possibility to redirect stdout to a file (with Quarkus configuration ) ? |
System.out.println
entries are not captured in quarkus.logOnly entries from
org.jboss.logging.Logger
are captured in quarkus.logI checked https://quarkus.io/guides/logging but didn't find any info about
System.out.println
entries not beeing captured.Reproducer:
build and run my-quarkus-project.zip
In the second terminal execute
Hello endpoint contains this snippet of the code
In the third terminal execute
You will see something like this:
The text was updated successfully, but these errors were encountered: