I want to change the log level of my quarkus app, and everywhere where I could find any reference, it pointed me to the application.properties file.
This is my application.properties content:
quarkus.log.level=TRACE
quarkus.log.console.enable=true
quarkus.log.console.level=TRACE
"%test".quarkus.log.level=TRACE
"%test".quarkus.log.console.enable=true
"%test".quarkus.log.console.level=TRACE
And this is my code:
Logger LOGGER = LoggerFactory.getLogger(AccessorController.class);
LOGGER.trace("TRACE");
LOGGER.debug("DEBUG");
LOGGER.info("INFO");
LOGGER.error("ERROR");
But this is the output:
Feb 24, 2020 1:42:35 PM com.MyClass greetings
INFO: INFO
Feb 24, 2020 1:42:35 PM com.MyClass greetings
ERROR: ERROR
Do I need any extra extension to get it working?
I have read this question but it didn't work for me. I really have no idea, I created a simple app from the Quarkus bootstrap and I still have the same behavior.