blob: f1fd48afcf942e6e405eba8c89b53f00923b3f6e [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Licensed to the Apache Software Foundation (ASF) under one or more
~ contributor license agreements. See the NOTICE file distributed with
~ this work for additional information regarding copyright ownership.
~ The ASF licenses this file to You under the Apache License, Version 2.0
~ (the "License"); you may not use this file except in compliance with
~ the License. You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<Configuration status="WARN">
<properties>
<property name="pattern">%d{ISO8601} %r [%t] %-5level %logger{1.} - %msg%n</property>
</properties>
<Appenders>
<Console name="CONSOLE" target="SYSTEM_OUT" follow="true">
<PatternLayout pattern="${pattern}" />
</Console>
<File name="FILE" fileName="target/multiIncompatibleAppender.log">
<PatternLayout pattern="${pattern}" />
</File>
<RollingRandomAccessFile name="ROLLING"
fileName="target/multiIncompatibleAppender.log"
filePattern="target/logs/%d{yyyyMMdd}/multiIncompatibleAppender-%i.log.gz">
<PatternLayout pattern="${pattern}" />
<Policies>
<OnStartupTriggeringPolicy/>
<SizeBasedTriggeringPolicy size="1 GB" />
<TimeBasedTriggeringPolicy/>
</Policies>
<DefaultRolloverStrategy/>
</RollingRandomAccessFile>
</Appenders>
<Loggers>
<Root level="DEBUG">
<AppenderRef ref="CONSOLE" level="WARN"/>
<AppenderRef ref="FILE" />
</Root>
</Loggers>
</Configuration>