2018-03-25 22:16:09 -04:00
|
|
|
<?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>
|
|
|
|
<Appenders>
|
|
|
|
<Console name="STDOUT" target="SYSTEM_OUT">
|
|
|
|
<PatternLayout>
|
|
|
|
<Pattern>
|
|
|
|
%d{yyyy-MM-dd HH:mm:ss.SSS} %-5p (%t) [%X{collection} %X{shard} %X{replica} %X{core}] %c{1.} %m%n
|
|
|
|
</Pattern>
|
|
|
|
</PatternLayout>
|
|
|
|
</Console>
|
|
|
|
<RollingFile
|
|
|
|
name="RollingFile"
|
2018-03-26 14:20:21 -04:00
|
|
|
fileName="${sys:solr.log.dir}/solr.log"
|
|
|
|
filePattern="${sys:solr.log.dir}/solr.%i.log" >
|
2018-03-25 22:16:09 -04:00
|
|
|
<PatternLayout>
|
|
|
|
<Pattern>
|
|
|
|
%d{yyyy-MM-dd HH:mm:ss.SSS} %-5p (%t) [%X{collection} %X{shard} %X{replica} %X{core}] %c{1.} %m%n
|
|
|
|
</Pattern>
|
|
|
|
</PatternLayout>
|
|
|
|
<Policies>
|
|
|
|
<OnStartupTriggeringPolicy />
|
2018-03-26 14:20:21 -04:00
|
|
|
<SizeBasedTriggeringPolicy size="32 MB"/>
|
2018-03-25 22:16:09 -04:00
|
|
|
</Policies>
|
2018-03-26 14:20:21 -04:00
|
|
|
<DefaultRolloverStrategy max="10"/>
|
2018-03-25 22:16:09 -04:00
|
|
|
</RollingFile>
|
|
|
|
</Appenders>
|
|
|
|
<Loggers>
|
|
|
|
<Logger name="org.apache.hadoop" level="warn"/>
|
|
|
|
<Logger name="org.apache.solr.update.LoggingInfoStream" level="off"/>
|
|
|
|
<Logger name="org.apache.zookeeper" level="warn"/>
|
|
|
|
|
|
|
|
<Root level="info">
|
|
|
|
<AppenderRef ref="RollingFile"/>
|
|
|
|
<AppenderRef ref="STDOUT"/>
|
|
|
|
</Root>
|
|
|
|
</Loggers>
|
|
|
|
</Configuration>
|