| # |
| # 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 |
| # <p> |
| # http://www.apache.org/licenses/LICENSE-2.0 |
| # <p> |
| # 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. |
| # |
| name=PropertiesConfig |
| |
| # Checks for config change periodically and reloads |
| monitorInterval=5 |
| |
| filter=read, write |
| # filter.read.onMatch = DENY avoids logging all READ events |
| # filter.read.onMatch = ACCEPT permits logging all READ events |
| # The above two settings ignore the log levels in configuration |
| # filter.read.onMatch = NEUTRAL permits logging of only those READ events |
| # which are attempted at log level equal or greater than log level specified |
| # in the configuration |
| filter.read.type = MarkerFilter |
| filter.read.marker = READ |
| filter.read.onMatch = DENY |
| filter.read.onMismatch = NEUTRAL |
| |
| # filter.write.onMatch = DENY avoids logging all WRITE events |
| # filter.write.onMatch = ACCEPT permits logging all WRITE events |
| # The above two settings ignore the log levels in configuration |
| # filter.write.onMatch = NEUTRAL permits logging of only those WRITE events |
| # which are attempted at log level equal or greater than log level specified |
| # in the configuration |
| filter.write.type = MarkerFilter |
| filter.write.marker = WRITE |
| filter.write.onMatch = NEUTRAL |
| filter.write.onMismatch = NEUTRAL |
| |
| # Log Levels are organized from most specific to least: |
| # OFF (most specific, no logging) |
| # FATAL (most specific, little data) |
| # ERROR |
| # WARN |
| # INFO |
| # DEBUG |
| # TRACE (least specific, a lot of data) |
| # ALL (least specific, all data) |
| |
| appenders = console, audit |
| appender.console.type = Console |
| appender.console.name = STDOUT |
| appender.console.layout.type = PatternLayout |
| appender.console.layout.pattern = %-5level | %c{1} | %msg%n |
| |
| appender.audit.type = File |
| appender.audit.name = AUDITLOG |
| appender.audit.fileName=audit.log |
| appender.audit.layout.type=PatternLayout |
| appender.audit.layout.pattern= %-5level | %c{1} | %msg%n |
| |
| loggers=audit |
| logger.audit.type=AsyncLogger |
| logger.audit.name=OMAudit |
| logger.audit.level = INFO |
| logger.audit.appenderRefs = audit |
| logger.audit.appenderRef.file.ref = AUDITLOG |
| |
| rootLogger.level = INFO |
| rootLogger.appenderRefs = stdout |
| rootLogger.appenderRef.stdout.ref = STDOUT |