Open hakan42 opened 7 years ago
Did you already find an answer to your question @hakan42? You might find more answers in the Karaf community.
Nope, I did not research further on this.
Rather, I am with keeping the cfg file in git and recreating the logging.cfg each and every time I start a fresh docker image. The target log directory, in turn, is mounted as a volume, so my itch is scratched.
I should so some further research on this, though, to really understand Karaf logging...
If I use placeholders in etc/org.ops4j.pax.logging.cfg, they are expanded into their full value. e.g. "${openhab.logdir}" becomes /var/log/whatever after starting the runtime.
Can this behaviour be disabled somehow?