blob: b4c32d2679f736aa14b59807dcea3a1cfadf1201 [file] [log] [blame]
Instrumental7a1817b2018-11-05 11:11:15 -06001#########
2# ============LICENSE_START====================================================
3# org.onap.aaf
4# ===========================================================================
5# Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.
6# ===========================================================================
7# Licensed under the Apache License, Version 2.0 (the "License");
8# you may not use this file except in compliance with the License.
9# You may obtain a copy of the License at
Instrumental12f7f462018-04-23 15:43:47 -050010#
Instrumental7a1817b2018-11-05 11:11:15 -060011# http://www.apache.org/licenses/LICENSE-2.0
Instrumental12f7f462018-04-23 15:43:47 -050012#
Instrumental7a1817b2018-11-05 11:11:15 -060013# Unless required by applicable law or agreed to in writing, software
14# distributed under the License is distributed on an "AS IS" BASIS,
15# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16# See the License for the specific language governing permissions and
17# limitations under the License.
18# ============LICENSE_END====================================================
Instrumental12f7f462018-04-23 15:43:47 -050019#
Instrumental7a1817b2018-11-05 11:11:15 -060020
Instrumental12f7f462018-04-23 15:43:47 -050021log4j.appender.INIT=org.apache.log4j.DailyRollingFileAppender
22log4j.appender.INIT.File=${LOG4J_FILENAME_init}
23log4j.appender.INIT.DatePattern='.'yyyy-MM-dd
24log4j.appender.INIT.layout=org.apache.log4j.PatternLayout
25log4j.appender.INIT.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss,SSSZ} %m %n
26
27log4j.appender.SRVR=org.apache.log4j.DailyRollingFileAppender
28log4j.appender.SRVR.File=${LOG4J_FILENAME_service}
29log4j.appender.SRVR.DatePattern='.'yyyy-MM-dd
30log4j.appender.SRVR.layout=org.apache.log4j.PatternLayout
31log4j.appender.SRVR.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss,SSSZ} %p [%c] %m %n
32
33log4j.appender.AUDIT=org.apache.log4j.DailyRollingFileAppender
34log4j.appender.AUDIT.File=${LOG4J_FILENAME_audit}
35log4j.appender.AUDIT.DatePattern='.'yyyy-MM-dd
36log4j.appender.AUDIT.layout=org.apache.log4j.PatternLayout
37log4j.appender.AUDIT.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss,SSSZ} %m %n
38
39log4j.appender.stdout=org.apache.log4j.ConsoleAppender
40log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
41log4j.appender.stdout.layout.ConversionPattern=%d %p [%c] %m %n
42
43# General Apache libraries
44log4j.rootLogger=WARN.SRVR
45log4j.logger.org.apache=WARN,SRVR
46log4j.logger.com.datastax=WARN,SRVR
Instrumentalfa61e472018-11-10 08:35:36 -060047log4j.logger.init=INFO,INIT,stdout
Instrumentalbaa1bc32018-11-19 07:46:03 -060048log4j.logger.service=${LOGGING_LEVEL},SRVR
Instrumental12f7f462018-04-23 15:43:47 -050049log4j.logger.audit=INFO,AUDIT
50# Additional configs, not cauth with Root Logger
51log4j.logger.io.netty=INFO,SRVR
52log4j.logger.org.eclipse=INFO,SRVR
53
54