Logging configuration with persistent config file

I’m lost with logging configuration. Currently looks like 30 days of log is kept which is too much for me because I want my logs to be in a ramdisk and at most a week should be enough…

I found log settings are made in the following file, but couldn’t find how to make my changes persistent when I upgrade to a new SNAPSHOT release.

runtime/karaf/etc/org.ops4j.pax.logging.cfg

So, what is the recommended way for “persistent” logging configuration, which doesn’t vanish with runtime upgrades? Would be good to have documentation of this.