I have file logging enabled in the mountedDir/conf/log.conf
:
# list of configured writers
writers=file,stdout
# file writer
w.file.class=io.questdb.log.LogRollingFileWriter
w.file.location=log/questdb-docker.log.${date:yyyyMMdd}
w.file.level=INFO,CRITICAL,ERROR
w.file.rollEvery=day
w.file.lifeDuration=7d
w.stdout.class=io.questdb.log.LogConsoleWriter
w.stdout.level=INFO,CRITICAL,ERROR
When restarting the docker container, I can see the stdout logs with docker logs questdb
but the logfile will not be created.
Things I have tried without luck:
- Using the default file writer without the file rotation
- Using the default file path in the root directory
- Creating the log file myself and running
chmod 777
over it
Any idea what I can try to make it work?