1234567891011121314151617181920212223242526272829303132333435363738394041 |
- <configuration scan="true">
- <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
- <encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
- <pattern>%date [%thread] %-5level %logger{35} - %msg%n</pattern>
- </encoder>
- <filter class="org.eclipse.m2e.logback.appender.ConsoleAppenderFilter"/>
- </appender>
- <appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
- <File>${org.eclipse.m2e.log.dir}/0.log</File>
- <rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy">
- <FileNamePattern>${org.eclipse.m2e.log.dir}/%i.log</FileNamePattern>
- <MinIndex>1</MinIndex>
- <MaxIndex>10</MaxIndex>
- </rollingPolicy>
- <triggeringPolicy class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy">
- <MaxFileSize>100MB</MaxFileSize>
- </triggeringPolicy>
- <encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
- <pattern>%date [%thread] %-5level %logger{35} - %msg%n</pattern>
- </encoder>
- </appender>
- <appender name="EclipseLog" class="org.eclipse.m2e.logback.appender.EclipseLogAppender">
- <filter class="ch.qos.logback.classic.filter.ThresholdFilter">
- <level>WARN</level>
- </filter>
- </appender>
- <appender name="MavenConsoleLog" class="org.eclipse.m2e.logback.appender.MavenConsoleAppender">
- </appender>
-
- <root level="INFO">
- <appender-ref ref="FILE" />
- <appender-ref ref="STDOUT" />
- <appender-ref ref="EclipseLog" />
- <appender-ref ref="MavenConsoleLog" />
- </root>
- <logger name="com.ning.http.client" level="INFO" />
- </configuration>
|