summaryrefslogtreecommitdiffstats
path: root/infra/it/benchmark/src/main/resources/logback.xml
blob: 755300321a27c420bfcbd1c278a03ade62877f4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
 <configuration scan="true">

  <appender name="honeycomb.log" class="ch.qos.logback.core.rolling.RollingFileAppender">
    <file>${project.build.directory}/logs/honeycomb.log</file>

    <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
      <fileNamePattern>${project.build.directory}/logs/honeycomb.%d.log.zip</fileNamePattern>
      <maxHistory>1</maxHistory>
    </rollingPolicy>

    <triggeringPolicy class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy">
      <maxFileSize>1MB</maxFileSize>
    </triggeringPolicy>

    <encoder>
      <pattern>%date{"yyyy-MM-dd HH:mm:ss.SSS z"} [%thread] %-5level %logger{35} - %msg%n</pattern>
    </encoder>
  </appender>

  <root level="warn">
    <appender-ref ref="honeycomb.log" />
  </root>

  <logger name="org.opendaylight" level="INFO"/>
  <logger name="io.fd" level="INFO"/>
</configuration>