I want to have two log files in my application (Spring Integration), debug.log and main.log. I want to run main.log at an INFO level and debug.log at a DEBUG level. This i
Just found a practical solution using logback elements only that works pretty well, essentially you need to have two appenders, one with the default config and the other one with a filter (in my example I'm using the console):
%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n
WARN
%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n