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