I am using logback in my web application, and i want to set RollingFileAppender with FixedWindowRollingPolicy and SizeBasedTriggeringPolicy. but i am getting error in doing the same.
14:53:30,401 |-ERROR in ch.qos.logback.core.joran.spi.Interpreter@9:82 - no applicable action for [triggeringPolicy], current ElementPath is [[configuration][appender][triggeringPolicy]]
14:53:30,401 |-ERROR in ch.qos.logback.core.joran.spi.Interpreter@10:20 - no applicable action for [maxFileSize], current ElementPath is [[configuration][appender][triggeringPolicy][maxFileSize]]
I am using logback-classic 1.1.2, logback-core 1.1.2 and slf4j-api 1.7.10.
PFA logback.xml.
It creates the file and the mentioned pattern zip for the first time, but keeps on appending the same file further.
|