Can `TimeBasedRollingPolicy` and `SizeBasedTriggeringPolicy` be used at the same time?
I found a logback tutorial with this code:
How to avoid logs duplication in a logger having several appenders?
I want to distribute logs to several files depending a flag in the LoggingEvent. Lets say all log lines with the flag valued to “A”, must go to A.log, thos with value “B”, must go to B.log, etc. There is a ‘default’ file default.log in which logs with values other than “A” or “B” should go.
Caused By: java.lang.LinkageError: loader constraint violation: “org.slf4j.impl.StaticLoggerBinder.getLoggerFactory()Lorg/slf4j/ILoggerFactory
I have upgraded the logback-core and logback-classic jar from 1.0.11 version to the 1.3.12. My project also using logback-ext.spring-0.1.1 , which is causing the below issue while restarting the application.