blob: b1976ed1145cb61b44afa7d461a7216823a9db70 [file] [log] [blame]
sg481n43854a92017-08-03 17:27:34 -04001#-------------------------------------------------------------------------------
2# ============LICENSE_START====================================================
sg481nc548cc92017-08-09 23:25:05 -04003# * org.onap.aaf
sg481n43854a92017-08-03 17:27:34 -04004# * ===========================================================================
5# * Copyright © 2017 AT&T Intellectual Property. All rights reserved.
sg481n43854a92017-08-03 17:27:34 -04006# * ===========================================================================
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
10# *
11# * http://www.apache.org/licenses/LICENSE-2.0
12# *
13# * 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====================================================
19# *
20# * ECOMP is a trademark and service mark of AT&T Intellectual Property.
21# *
22#-------------------------------------------------------------------------------
23#
24# Licensed to the Apache Software Foundation (ASF) under one
25# or more contributor license agreements. See the NOTICE file
26# distributed with this work for additional information
27# regarding copyright ownership. The ASF licenses this file
28# to you under the Apache License, Version 2.0 (the
29# "License"); you may not use this file except in compliance
30# with the License. You may obtain a copy of the License at
31#
32# http://www.apache.org/licenses/LICENSE-2.0
33#
34# Unless required by applicable law or agreed to in writing,
35# software distributed under the License is distributed on an
36# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
37# KIND, either express or implied. See the License for the
38# specific language governing permissions and limitations
39# under the License.
40#
41log4j.appender.INIT=org.apache.log4j.DailyRollingFileAppender
42log4j.appender.INIT.File=logs/${LOG4J_FILENAME_init}
43log4j.appender.INIT.DatePattern='.'yyyy-MM-dd
44#log4j.appender.INIT.MaxFileSize=10000KB
45#log4j.appender.INIT.MaxBackupIndex=7
46log4j.appender.INIT.layout=org.apache.log4j.PatternLayout
47log4j.appender.INIT.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss,SSSZ} %m %n
48
49log4j.appender.SRVR=org.apache.log4j.DailyRollingFileAppender
50log4j.appender.SRVR.File=logs/${LOG4J_FILENAME_authz}
51log4j.appender.SRVR.DatePattern='.'yyyy-MM-dd
52#log4j.appender.SRVR.MaxFileSize=10000KB
53#log4j.appender.SRVR.MaxBackupIndex=7
54log4j.appender.SRVR.layout=org.apache.log4j.PatternLayout
55log4j.appender.SRVR.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss,SSSZ} %p [%c] %m %n
56
57log4j.appender.AUDIT=org.apache.log4j.DailyRollingFileAppender
58log4j.appender.AUDIT.File=logs/${LOG4J_FILENAME_audit}
59log4j.appender.AUDIT.DatePattern='.'yyyy-MM-dd
60#log4j.appender.AUDIT.MaxFileSize=10000KB
61#log4j.appender.AUDIT.MaxBackupIndex=7
62log4j.appender.AUDIT.layout=org.apache.log4j.PatternLayout
63log4j.appender.AUDIT.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss,SSSZ} %m %n
64
65log4j.appender.TRACE=org.apache.log4j.DailyRollingFileAppender
66log4j.appender.TRACE.File=logs/${LOG4J_FILENAME_trace}
67log4j.appender.TRACE.DatePattern='.'yyyy-MM-dd
68log4j.appender.TRACE.MaxFileSize=10000KB
69log4j.appender.TRACE.MaxBackupIndex=7
70log4j.appender.TRACE.layout=org.apache.log4j.PatternLayout
71log4j.appender.TRACE.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss,SSSZ} %m %n
72
73log4j.appender.stdout=org.apache.log4j.ConsoleAppender
74log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
75log4j.appender.stdout.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss,SSSZ} %p [%c] %m %n
76
77# General Apache libraries
78log4j.rootLogger=WARN
79log4j.logger.org.apache=WARN,INIT
80log4j.logger.dme2=WARN,INIT
81log4j.logger.init=WARN,stdout,INIT
82log4j.logger.authz=WARN,stdout,SRVR
83log4j.logger.audit=WARN,AUDIT
84log4j.logger.trace=TRACE,TRACE
85