blob: e95a6c8ea30b11305453f39bd25c040c3b6b13dd [file] [log] [blame]
# 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.
ranger.root.logger=INFO,console
log4j.rootLogger=${ranger.root.logger}
# Logging Threshold
log4j.threshold=ALL
log4j.appender.console=org.apache.log4j.ConsoleAppender
log4j.appender.console.target=System.err
log4j.appender.console.layout=org.apache.log4j.PatternLayout
log4j.appender.console.layout.ConversionPattern=%d{ISO8601} %-5p [%t] %c{2}: %m%n
#
# ranger.perf log level
#
ranger.perf.logger=DEBUG,PERF
ranger.perf.log.file=ranger-perf-test.log
log4j.logger.org.apache.ranger.plugin.util.PerfDataRecorder=${ranger.perf.logger}
log4j.logger.org.apache.ranger.perf=${ranger.perf.logger}
log4j.additivity.org.apache.ranger.perf=false
log4j.appender.PERF=org.apache.log4j.DailyRollingFileAppender
log4j.appender.PERF.File=${ranger.perf.log.file}
log4j.appender.PERF.layout=org.apache.log4j.PatternLayout
log4j.appender.PERF.layout.ConversionPattern=%m%n
log4j.appender.PERF.DatePattern=.yyyy-MM-dd