blob: 5d5ef95000374a07cce0e8a4de22d68fa6ee15dd [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.
#
appender.0.type = File
appender.0.name = AUDIT
appender.0.fileName = logs/audit.log
appender.0.ignoreExceptions = false
appender.0.layout.type = JsonTemplateLayout
appender.1.type = File
appender.1.name = DEBUG_LOG
appender.1.fileName = logs/debug.log
appender.1.layout.type = PatternLayout
rootLogger.level = INFO
rootLogger.appenderRef.0.ref = AUDIT # <1>
rootLogger.appenderRef.0.filter.0.type = MarkerFilter
rootLogger.appenderRef.0.filter.0.marker = AUDIT
rootLogger.appenderRef.0.filter.0.onMatch = ACCEPT
rootLogger.appenderRef.0.filter.0.onMismatch = DENY
logger.0.type = AsyncLogger
logger.0.name = com.example
logger.0.level = TRACE
logger.0.appenderRef.0.ref = DEBUG_LOG # <2>