ange.xchange-examples.3.1.0.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 xchange-examples Show documentation
Show all versions of xchange-examples Show documentation
Provides a set of examples that demonstrate how to use XChange in client applications
The newest version!
<?xml version="1.0" encoding="UTF-8"?> <configuration> <!-- Standard console appender for checking activity (short on detail) --> <appender name="CONSOLE_APPENDER" class="ch.qos.logback.core.ConsoleAppender"> <!-- Simplified standard logging encoder --> <encoder> <pattern>%d{HH:mm:ss.SSS} [%contextName] [%thread] %-5level %logger{36} - %msg %xEx%n</pattern> </encoder> </appender> <!-- Detail appender, containing simplified format and more detail --> <appender name="DETAIL_APPENDER" class="ch.qos.logback.core.rolling.RollingFileAppender"> <!-- Each application gets it's own log --> <file>log/xchange-detail.log</file> <!-- Rollover daily or when the file size exceeds 100Mb and keep a few --> <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> <fileNamePattern>log/xchange-detail-%d{yyyy-MM-dd}.%i.log.gz </fileNamePattern> <timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP"> <maxFileSize>100MB</maxFileSize> </timeBasedFileNamingAndTriggeringPolicy> <maxHistory>7</maxHistory> </rollingPolicy> <encoder> <pattern>%d{HH:mm:ss.SSS} ${HOSTNAME} [%thread] %-5level %logger{36} - %msg %xEx%n</pattern> </encoder> </appender> <root level="WARN"> <appender-ref ref="CONSOLE_APPENDER" /> <appender-ref ref="DETAIL_APPENDER" /> </root> <!-- Define logging for organization applications only --> <logger name="com.xeiam.xchange" level="DEBUG" /> <!-- <logger name="si.mazi.rescu" level="TRACE" /> --> </configuration>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy