Replies: 1 comment
-
Ok, I used a workaround to remove the debug logging. The downside is that this will get rid of all logs, not only the debug ones from pom.xmlReplace: <dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<scope>runtime</scope>
</dependency> With: <dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-nop</artifactId>
<version>2.0.16</version>
<scope>runtime</scope>
</dependency> |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there!
I built a small CLI tool that works well in both Jar/native mode. I use the Micronaut Launch to create a CLI app with Picocli, and selected GraalVM. I had to manually add the Maven plugin because the generated project didn't add it for me.
The only thing that's driving me crazy is that, for some unknown reason, the native binary shows debug logs from
io.micronaut.*
packages when I run it (which ends up burying my CLI output), and I don't know how to turn it off.I built it under Windows, in case that matters.
Output example
I only show a very tiny portion of the output, because it logs a lot:
Can someone help me please?
Thank you in advance!
Beta Was this translation helpful? Give feedback.
All reactions