TIKA-111: Missing license headers
[tika.git] / src / test / resources / log4j / log4j.properties
blobc3880f09170425188b71b0879646b60d8b4fe9f6
1 # Licensed to the Apache Software Foundation (ASF) under one or more
2 # contributor license agreements.  See the NOTICE file distributed with
3 # this work for additional information regarding copyright ownership.
4 # The ASF licenses this file to You under the Apache License, Version 2.0
5 # (the "License"); you may not use this file except in compliance with
6 # the License.  You may obtain a copy of the License at
8 #     http://www.apache.org/licenses/LICENSE-2.0
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
16 #info,debug, error,fatal ...
17 log4j.rootLogger=info,stdout,R
19 #console
20 log4j.appender.stdout=org.apache.log4j.ConsoleAppender
21 log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
23 # Pattern to output the caller's file name and line number.
24 log4j.appender.stdout.layout.ConversionPattern=%5p [%t] (%F:%L) - %m%n
26 #file
27 log4j.appender.R=org.apache.log4j.RollingFileAppender
28 log4j.appender.R.File=tika.log
30 log4j.appender.R.MaxFileSize=100KB
31 # Keep one backup file
32 log4j.appender.R.MaxBackupIndex=1
34 log4j.appender.R.layout=org.apache.log4j.PatternLayout
35 log4j.appender.R.layout.ConversionPattern=%p %t %c - %m%n