blob: aabb0b1e4a1ea22da440e631b4a2edc47d7b5391 [file] [log] [blame]
# Licensed 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.
# log4j configuration used during build and unit tests
log4j.rootLogger=INFO,stdout,PROBLEM
log4j.threshold=ALL
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%d{ISO8601} [%t] %-5p %c{2} (%F:%M(%L)) - %m%n
log4j.logger.org.apache.hadoop.security.ShellBasedUnixGroupsMapping=ERROR
log4j.logger.org.apache.hadoop.util.NativeCodeLoader=ERROR
# Suppress info messages on every put key from Ratis
log4j.logger.org.apache.ratis.grpc.client.GrpcClientProtocolClient=WARN
log4j.logger.org.apache.hadoop.ozone.utils=DEBUG,stdout,CHAOS
log4j.logger.org.apache.hadoop.ozone.loadgenerators=DEBUG,stdout,CHAOS
log4j.logger.org.apache.hadoop.ozone.failure=INFO, CHAOS
log4j.appender.CHAOS.File=${chaoslogfilename}
log4j.appender.CHAOS=org.apache.log4j.FileAppender
log4j.appender.CHAOS.layout=org.apache.log4j.PatternLayout
log4j.appender.CHAOS.layout.ConversionPattern=%d{ISO8601} [%t] %-5p %c{2} (%F:%M(%L)) - %m%n
log4j.appender.PROBLEM.File=${problemlogfilename}
log4j.appender.PROBLEM.Threshold=WARN
log4j.appender.PROBLEM=org.apache.log4j.FileAppender
log4j.appender.PROBLEM.layout=org.apache.log4j.PatternLayout
log4j.appender.PROBLEM.layout.ConversionPattern=%d{ISO8601} [%t] %-5p %c{2} (%F:%M(%L)) - %m%n
log4j.additivity.org.apache.hadoop.ozone.utils=false