How to generate log file in the project root folder?

Viewed 9

I have a small learning Quarkus Project. My logging configuration

# Configure Logging to File.
quarkus.log.file.enable=true
quarkus.log.file.path=quarkus.log
quarkus.log.file.level=INFO
quarkus.log.file.rotation.max-file-size=10M
quarkus.log.file.rotation.max-backup-index=5
quarkus.log.file.rotation.file-suffix=.yyyy-MM-dd
quarkus.log.file.rotation.rotate-on-boot=true

I do logging with

import org.jboss.logging.Logger;
private static final Logger LOGGER = Logger.getLogger(AppLifecycleService.class);

My expectation was that the quarkus.log file would be created in the root folder of the project. But it doesn't. How should the configuration be?

0 Answers
Related