Problem separating logfiles

I was trying to split logfiles into logfiles for my primary bindings (eg. zwave.log, onewire.log etc) and then leave all the basic stuff in openhab.log.

Espacially when investigating problems in a binding, this setup is quicte handy. I found a guide which told me to add lines to the file runtime/karaf/etc/org.ops4j.pax.logging.cfg
I added these lines:

log4j.logger.org.openhab.binding.zwave = INFO, zwave

# File appender - zwave.log
log4j.appender.zwave=org.apache.log4j.RollingFileAppender
log4j.appender.zwave.layout=org.apache.log4j.PatternLayout
log4j.appender.zwave.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss.SSS} [%-5.5p] [%-36.36c] - %m%n
log4j.appender.zwave.file=${openhab.logdir}/zwave.log
log4j.appender.zwave.append=true
log4j.appender.zwave.maxFileSize=10MB
log4j.appender.zwave.maxBackupIndex=3

Which gave me a new file zwave.log.

The problem is that the zwave log entries still appear in openhab.log. Since I am no expert in log4j, I have obviously missed some setting somewhere - anybody who can give a hint?

@Kai found a solurion for that:

btw, the how to setup separate log files is also described in the documentation

Thanks, i Will try it out. I did actually read The Doc first :slight_smile: