blog podcast

Logging and Libraries with Quarkus

Quarkus allows you to configure log level. I was using this together with Infinispan, but for some reason I was unable to get TRACE logs to work in infinispan. It turns out you not only have to configure your log level with:

quarkus.log.level=TRACE

You also need to configure the min-level (which defaults to DEBUG).

quarkus.log.min-level=TRACE

Why? Because otherwise Quarkus will optimize away your trace logs.