Back to home page

OSCL-LXR

 
 

    


0001 #
0002 # Licensed to the Apache Software Foundation (ASF) under one or more
0003 # contributor license agreements.  See the NOTICE file distributed with
0004 # this work for additional information regarding copyright ownership.
0005 # The ASF licenses this file to You under the Apache License, Version 2.0
0006 # (the "License"); you may not use this file except in compliance with
0007 # the License.  You may obtain a copy of the License at
0008 #
0009 #    http://www.apache.org/licenses/LICENSE-2.0
0010 #
0011 # Unless required by applicable law or agreed to in writing, software
0012 # distributed under the License is distributed on an "AS IS" BASIS,
0013 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
0014 # See the License for the specific language governing permissions and
0015 # limitations under the License.
0016 #
0017 
0018 # Set everything to be logged to the file core/target/unit-tests.log
0019 log4j.rootLogger=DEBUG, CA, FA
0020 
0021 #Console Appender
0022 log4j.appender.CA=org.apache.log4j.ConsoleAppender
0023 log4j.appender.CA.layout=org.apache.log4j.PatternLayout
0024 log4j.appender.CA.layout.ConversionPattern=%d{HH:mm:ss.SSS} %p %c: %m%n
0025 log4j.appender.CA.Threshold = WARN
0026 
0027 
0028 #File Appender
0029 log4j.appender.FA=org.apache.log4j.FileAppender
0030 log4j.appender.FA.append=false
0031 log4j.appender.FA.file=target/unit-tests.log
0032 log4j.appender.FA.layout=org.apache.log4j.PatternLayout
0033 log4j.appender.FA.layout.ConversionPattern=%d{HH:mm:ss.SSS} %t %p %c{1}: %m%n
0034 
0035 # Set the logger level of File Appender to WARN
0036 log4j.appender.FA.Threshold = DEBUG
0037 
0038 # Some packages are noisy for no good reason.
0039 log4j.additivity.org.apache.hadoop.hive.serde2.lazy.LazyStruct=false
0040 log4j.logger.org.apache.hadoop.hive.serde2.lazy.LazyStruct=OFF
0041 
0042 log4j.additivity.org.apache.hadoop.hive.metastore.RetryingHMSHandler=false
0043 log4j.logger.org.apache.hadoop.hive.metastore.RetryingHMSHandler=OFF
0044 
0045 log4j.additivity.hive.log=false
0046 log4j.logger.hive.log=OFF
0047 
0048 log4j.additivity.parquet.hadoop.ParquetRecordReader=false
0049 log4j.logger.parquet.hadoop.ParquetRecordReader=OFF
0050 
0051 log4j.additivity.org.apache.parquet.hadoop.ParquetRecordReader=false
0052 log4j.logger.org.apache.parquet.hadoop.ParquetRecordReader=OFF
0053 
0054 log4j.additivity.org.apache.parquet.hadoop.ParquetOutputCommitter=false
0055 log4j.logger.org.apache.parquet.hadoop.ParquetOutputCommitter=OFF
0056 
0057 log4j.additivity.hive.ql.metadata.Hive=false
0058 log4j.logger.hive.ql.metadata.Hive=OFF
0059 
0060 log4j.additivity.org.apache.hadoop.hive.ql.io.RCFile=false
0061 log4j.logger.org.apache.hadoop.hive.ql.io.RCFile=ERROR
0062 
0063 # Parquet related logging
0064 log4j.logger.org.apache.parquet.CorruptStatistics=ERROR
0065 log4j.logger.parquet.CorruptStatistics=ERROR