#
# 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
#
#   https://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.
#

dest = err
name = AccumuloTestLoggingProperties

appender.console.type = Console
appender.console.name = STDOUT
appender.console.target = SYSTEM_OUT
appender.console.layout.type = PatternLayout
appender.console.layout.pattern = %d{ISO8601} Thread[%T;%t] [%-8c{2}] %-5p: %m%n

logger.01.name = org.apache.accumulo.core
logger.01.level = debug

logger.02.name = org.apache.accumulo.core.clientImpl.ManagerClient
logger.02.level = info

logger.03.name = org.apache.accumulo.core.clientImpl.ServerClient
logger.03.level = error

logger.04.name = org.apache.accumulo.core.util.shell.Shell.audit
logger.04.level = off

logger.05.name = org.apache.accumulo.core.util.shell.Shell
logger.05.level = fatal

logger.06.name = org.apache.commons.vfs2.impl.DefaultFileSystemManager
logger.06.level = warn

logger.07.name = org.apache.hadoop.io.compress.CodecPool
logger.07.level = warn

logger.08.name = org.apache.hadoop.mapred
logger.08.level = error

logger.09.name = org.apache.hadoop.tools.DistCp
logger.09.level = warn

logger.10.name = org.apache.hadoop.util.NativeCodeLoader
logger.10.level = error

logger.11.name = org.apache.hadoop.util.ProcessTree
logger.11.level = warn

logger.12.name = org.apache.zookeeper
logger.12.level =  info

logger.13.name = org.apache.zookeeper.ClientCnxn
logger.13.level = fatal

logger.13b.name = org.apache.zookeeper.ClientCnxnSocket
logger.13b.level = warn

logger.14.name = org.apache.zookeeper.ZooKeeper
logger.14.level = warn

logger.15.name = org.apache.accumulo.core.file.rfile.bcfile
logger.15.level = info

logger.16.name = org.apache.accumulo.server.util.ReplicationTableUtil
logger.16.level = trace

logger.17.name = org.apache.accumulo.core.clientImpl.ThriftScanner
logger.17.level = info

logger.18.name = org.apache.accumulo.core.fate.zookeeper.DistributedReadWriteLock
logger.18.level = warn

logger.19.name = org.apache.hadoop
logger.19.level = warn

logger.20.name = org.apache.jasper
logger.20.level = info

logger.21.name = org.apache.hadoop.hdfs.server.namenode.FSNamesystem.audit
logger.21.level = warn

logger.22.name = org.apache.hadoop.hdfs.server.datanode.DataNode.clienttrace
logger.22.level = warn

logger.23.name = BlockStateChange
logger.23.level = warn

logger.24.name = org.apache.accumulo.core.clientImpl.TabletServerBatchReaderIterator
logger.24.level = info

logger.25.name = org.apache.hadoop.security
logger.25.level = info

logger.26.name = org.apache.hadoop.minikdc
logger.26.level = debug

logger.27.name = org.apache.directory
logger.27.level = info

logger.28.name = org.apache.directory.api.ldap
logger.28.level = warn

# This is really spammy at debug
logger.29.name = org.apache.thrift.transport.TSaslTransport
logger.29.level = info

# From apache-ds/minikdc
logger.31.name = org.apache.mina
logger.31.level = info

logger.32.name = org.apache.accumulo.server.thrift.UGIAssumingProcessor
logger.32.level = trace

logger.33.name = org.apache.hadoop.security.UserGroupInformation
logger.33.level = info

# For debugging replication tests.
logger.34.name = org.apache.accumulo.manager.ManagerDrainImpl
logger.34.level = trace

# This is spammy
logger.35.name = org.apache.accumulo.miniclusterImpl.MiniAccumuloClusterImpl
logger.35.level = info

# This is pointless, as it only ever logs errors closing connections that are
# already closed, such as when we release a cached thrift transport after the
# network socket has already disconnected; These can't really be avoided,
# because TIOStreamTransport does not implement a good isOpen()
logger.36.name = org.apache.thrift.transport.TIOStreamTransport
logger.36.level = error

logger.37.name = org.eclipse.jetty
logger.37.level = warn

logger.38.name = org.apache.hadoop.fs.TrashPolicyDefault
logger.38.level = debug

logger.39.name = org.apache.accumulo.manager.Manager
logger.39.level = trace

logger.40.name = org.apache.accumulo.manager.tableOps.bulkVer2.LoadFiles
logger.40.level = trace

# TSimpleServer is too noisy at DEBUG when clients disconnect; only used for ThriftBehaviorIT
logger.41.name = org.apache.thrift.server.TSimpleServer
logger.41.level = info

rootLogger.level = debug
rootLogger.appenderRef.console.ref = STDOUT
