Space von Team 22 (Nico B. Benjamin F. Lea A.)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
1.6 KiB

3 years ago
  1. <configuration scan="true">
  2. <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
  3. <encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
  4. <pattern>%date [%thread] %-5level %logger{35} - %msg%n</pattern>
  5. </encoder>
  6. <filter class="ch.qos.logback.classic.filter.ThresholdFilter">
  7. <level>OFF</level> <!-- change to DEBUG to mimic '-consolelog' behaviour -->
  8. </filter>
  9. </appender>
  10. <appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
  11. <File>${org.eclipse.m2e.log.dir}/0.log</File>
  12. <rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy">
  13. <FileNamePattern>${org.eclipse.m2e.log.dir}/%i.log</FileNamePattern>
  14. <MinIndex>1</MinIndex>
  15. <MaxIndex>10</MaxIndex>
  16. </rollingPolicy>
  17. <triggeringPolicy class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy">
  18. <MaxFileSize>100MB</MaxFileSize>
  19. </triggeringPolicy>
  20. <encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
  21. <pattern>%date [%thread] %-5level %logger{35} - %msg%n</pattern>
  22. </encoder>
  23. </appender>
  24. <appender name="EclipseLog" class="org.eclipse.m2e.logback.appender.EclipseLogAppender">
  25. <filter class="ch.qos.logback.classic.filter.ThresholdFilter">
  26. <level>WARN</level>
  27. </filter>
  28. </appender>
  29. <appender name="MavenConsoleLog" class="org.eclipse.m2e.logback.appender.MavenConsoleAppender">
  30. </appender>
  31. <root level="INFO">
  32. <appender-ref ref="FILE" />
  33. <appender-ref ref="STDOUT" />
  34. <appender-ref ref="EclipseLog" />
  35. <appender-ref ref="MavenConsoleLog" />
  36. </root>
  37. </configuration>