diff options
author | Maros Marsalek <mmarsale@cisco.com> | 2016-11-03 16:24:17 +0100 |
---|---|---|
committer | Maros Marsalek <mmarsale@cisco.com> | 2016-11-07 15:33:48 +0100 |
commit | 03a638b95da83e150d4f69451c8733b5f09c37aa (patch) | |
tree | 970f6f3afed85d073476b63108c7a12f1200557e /infra/it/benchmark/src/main/resources | |
parent | 5fd09f98a9fde773b275c2266f39552cda861713 (diff) |
HONEYCOMB-287 Infra micro-benchmarks
Config (write)
Operational (read)
Add -Pbenchmark to maven execution to include benchmarks
Change-Id: Ia4815ffc109e34629279b9418b962a9f91c38c30
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
Diffstat (limited to 'infra/it/benchmark/src/main/resources')
-rw-r--r-- | infra/it/benchmark/src/main/resources/logback.xml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/infra/it/benchmark/src/main/resources/logback.xml b/infra/it/benchmark/src/main/resources/logback.xml new file mode 100644 index 000000000..755300321 --- /dev/null +++ b/infra/it/benchmark/src/main/resources/logback.xml @@ -0,0 +1,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> |