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: = INFO, zwave

# File appender - zwave.log
log4j.appender.zwave.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss.SSS} [%-5.5p] [%-36.36c] - %m%n

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: