er.mockserver-core.1.5.source-code.logback.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mockserver-core Show documentation
Show all versions of mockserver-core Show documentation
Functionality used by all MockServer modules for matching and expectations
<configuration> <appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender"> <file>mockserver.log</file> <encoder> <pattern>%date %level [%thread] %logger{35} [%file:%line] %msg%n</pattern> </encoder> <filter class="ch.qos.logback.classic.filter.ThresholdFilter"> <level>TRACE</level> </filter> <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> <fileNamePattern>mockserver.%d{yyyy-MM-dd}.%i.log</fileNamePattern> <timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP"> <maxFileSize>50MB</maxFileSize> </timeBasedFileNamingAndTriggeringPolicy> <maxHistory>2</maxHistory> </rollingPolicy> </appender> <appender name="FILE" class="ch.qos.logback.core.FileAppender"> <file>mockserver.log</file> <encoder> <pattern>%date %level [%thread] %logger{35} [%file:%line] %msg%n</pattern> </encoder> <filter class="ch.qos.logback.classic.filter.ThresholdFilter"> <level>TRACE</level> </filter> </appender> <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> <target>System.err</target> <encoder> <pattern>%date %level %logger{20} %msg%n</pattern> </encoder> <filter class="ch.qos.logback.classic.filter.ThresholdFilter"> <level>WARN</level> </filter> </appender> <logger name="org.mockserver" level="TRACE"/> <root level="WARN"> <appender-ref ref="FILE"/> <appender-ref ref="STDOUT"/> </root> </configuration>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy