123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108 |
- # 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.
- status = INFO
- name = LlapDaemonLog4j2
- packages = org.apache.hadoop.hive.ql.log
- # list of properties
- property.llap.daemon.log.level = INFO
- property.llap.daemon.root.logger = console
- property.llap.daemon.log.dir = .
- property.llap.daemon.log.file = llapdaemon.log
- property.llap.daemon.historylog.file = llapdaemon_history.log
- property.llap.daemon.log.maxfilesize = 256MB
- property.llap.daemon.log.maxbackupindex = 20
- # list of all appenders
- appenders = console, RFA, HISTORYAPPENDER
- # console appender
- appender.console.type = Console
- appender.console.name = console
- appender.console.target = SYSTEM_ERR
- appender.console.layout.type = PatternLayout
- appender.console.layout.pattern = %d{ISO8601} %5p [%t%x] %c{2}: %m%n
- # rolling file appender
- appender.RFA.type = RollingRandomAccessFile
- appender.RFA.name = RFA
- appender.RFA.fileName = ${sys:llap.daemon.log.dir}/${sys:llap.daemon.log.file}
- appender.RFA.filePattern = ${sys:llap.daemon.log.dir}/${sys:llap.daemon.log.file}_%i
- appender.RFA.layout.type = PatternLayout
- appender.RFA.layout.pattern = %d{ISO8601} %5p [%t%x] %c{2}: %m%n
- appender.RFA.policies.type = Policies
- appender.RFA.policies.size.type = SizeBasedTriggeringPolicy
- appender.RFA.policies.size.size = ${sys:llap.daemon.log.maxfilesize}
- appender.RFA.strategy.type = DefaultRolloverStrategy
- appender.RFA.strategy.max = ${sys:llap.daemon.log.maxbackupindex}
- # history file appender
- appender.HISTORYAPPENDER.type = RollingRandomAccessFile
- appender.HISTORYAPPENDER.name = HISTORYAPPENDER
- appender.HISTORYAPPENDER.fileName = ${sys:llap.daemon.log.dir}/${sys:llap.daemon.historylog.file}
- appender.HISTORYAPPENDER.filePattern = ${sys:llap.daemon.log.dir}/${sys:llap.daemon.historylog.file}_%i
- appender.HISTORYAPPENDER.layout.type = PatternLayout
- appender.HISTORYAPPENDER.layout.pattern = %m%n
- appender.HISTORYAPPENDER.policies.type = Policies
- appender.HISTORYAPPENDER.policies.size.type = SizeBasedTriggeringPolicy
- appender.HISTORYAPPENDER.policies.size.size = ${sys:llap.daemon.log.maxfilesize}
- appender.HISTORYAPPENDER.strategy.type = DefaultRolloverStrategy
- appender.HISTORYAPPENDER.strategy.max = ${sys:llap.daemon.log.maxbackupindex}
- # list of all loggers
- loggers = EncodedReader, NIOServerCnxn, ClientCnxnSocketNIO, DataNucleus, Datastore, JPOX, HistoryLogger, LlapIoImpl, LlapIoOrc, LlapIoCache, LlapIoLocking
- logger.EncodedReader.name = org.apache.hadoop.hive.ql.io.orc.encoded.EncodedReaderImpl
- logger.EncodedReader.level = INFO
- logger.LlapIoImpl.name = LlapIoImpl
- logger.LlapIoImpl.level = INFO
- logger.LlapIoOrc.name = LlapIoOrc
- logger.LlapIoOrc.level = WARN
- logger.LlapIoCache.name = LlapIoCache
- logger.LlapIoCache.level = WARN
- logger.LlapIoLocking.name = LlapIoLocking
- logger.LlapIoLocking.level = WARN
- logger.NIOServerCnxn.name = org.apache.zookeeper.server.NIOServerCnxn
- logger.NIOServerCnxn.level = WARN
- logger.ClientCnxnSocketNIO.name = org.apache.zookeeper.ClientCnxnSocketNIO
- logger.ClientCnxnSocketNIO.level = WARN
- logger.DataNucleus.name = DataNucleus
- logger.DataNucleus.level = ERROR
- logger.Datastore.name = Datastore
- logger.Datastore.level = ERROR
- logger.JPOX.name = JPOX
- logger.JPOX.level = ERROR
- logger.HistoryLogger.name = org.apache.hadoop.hive.llap.daemon.HistoryLogger
- logger.HistoryLogger.level = INFO
- logger.HistoryLogger.additivity = false
- logger.HistoryLogger.appenderRefs = HistoryAppender
- logger.HistoryLogger.appenderRef.HistoryAppender.ref = HISTORYAPPENDER
- # root logger
- rootLogger.level = ${sys:llap.daemon.log.level}
- rootLogger.appenderRefs = root
- rootLogger.appenderRef.root.ref = ${sys:llap.daemon.root.logger}
|