1 #-------------------------------------------------------------------------------
\r
2 # ============LICENSE_START====================================================
\r
4 # * ===========================================================================
\r
5 # * Copyright © 2017 AT&T Intellectual Property. All rights reserved.
\r
6 # * ===========================================================================
\r
7 # * Licensed under the Apache License, Version 2.0 (the "License");
\r
8 # * you may not use this file except in compliance with the License.
\r
9 # * You may obtain a copy of the License at
\r
11 # * http://www.apache.org/licenses/LICENSE-2.0
\r
13 # * Unless required by applicable law or agreed to in writing, software
\r
14 # * distributed under the License is distributed on an "AS IS" BASIS,
\r
15 # * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
\r
16 # * See the License for the specific language governing permissions and
\r
17 # * limitations under the License.
\r
18 # * ============LICENSE_END====================================================
\r
20 # * ECOMP is a trademark and service mark of AT&T Intellectual Property.
\r
22 #-------------------------------------------------------------------------------
\r
23 ###############################################################################
\r
24 # Copyright (c) 2016 AT&T Intellectual Property. All rights reserved.
\r
25 ###############################################################################
\r
27 # Licensed to the Apache Software Foundation (ASF) under one
\r
28 # or more contributor license agreements. See the NOTICE file
\r
29 # distributed with this work for additional information
\r
30 # regarding copyright ownership. The ASF licenses this file
\r
31 # to you under the Apache License, Version 2.0 (the
\r
32 # "License"); you may not use this file except in compliance
\r
33 # with the License. You may obtain a copy of the License at
\r
35 # http://www.apache.org/licenses/LICENSE-2.0
\r
37 # Unless required by applicable law or agreed to in writing,
\r
38 # software distributed under the License is distributed on an
\r
39 # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
\r
40 # KIND, either express or implied. See the License for the
\r
41 # specific language governing permissions and limitations
\r
42 # under the License.
\r
44 log4j.appender.INIT=org.apache.log4j.DailyRollingFileAppender
\r
45 log4j.appender.INIT.File=_LOG_DIR_/${LOG4J_FILENAME_init}
\r
46 log4j.appender.INIT.DatePattern='.'yyyy-MM-dd
\r
47 #log4j.appender.INIT.MaxFileSize=_MAX_LOG_FILE_SIZE_
\r
48 #log4j.appender.INIT.MaxBackupIndex=_MAX_LOG_FILE_BACKUP_COUNT_
\r
49 log4j.appender.INIT.layout=org.apache.log4j.PatternLayout
\r
50 log4j.appender.INIT.layout.ConversionPattern=%d %p [%c] %m %n
\r
52 log4j.appender.GW=org.apache.log4j.DailyRollingFileAppender
\r
53 log4j.appender.GW.File=_LOG_DIR_/${LOG4J_FILENAME_gw}
\r
54 log4j.appender.GW.DatePattern='.'yyyy-MM-dd
\r
55 #log4j.appender.GW.MaxFileSize=_MAX_LOG_FILE_SIZE_
\r
56 #log4j.appender.GW.MaxBackupIndex=_MAX_LOG_FILE_BACKUP_COUNT_
\r
57 log4j.appender.GW.layout=org.apache.log4j.PatternLayout
\r
58 log4j.appender.GW.layout.ConversionPattern=%d %p [%c] %m %n
\r
60 log4j.appender.AUDIT=org.apache.log4j.DailyRollingFileAppender
\r
61 log4j.appender.AUDIT.File=_LOG_DIR_/${LOG4J_FILENAME_audit}
\r
62 log4j.appender.AUDIT.DatePattern='.'yyyy-MM-dd
\r
63 #log4j.appender.GW.MaxFileSize=_MAX_LOG_FILE_SIZE_
\r
64 #log4j.appender.GW.MaxBackupIndex=_MAX_LOG_FILE_BACKUP_COUNT_
\r
65 log4j.appender.AUDIT.layout=org.apache.log4j.PatternLayout
\r
66 log4j.appender.AUDIT.layout.ConversionPattern=%d %p [%c] %m %n
\r
68 log4j.appender.stdout=org.apache.log4j.ConsoleAppender
\r
69 log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
\r
70 log4j.appender.stdout.layout.ConversionPattern=%d %p [%c] %m %n
\r
72 # General Apache libraries
\r
73 log4j.rootLogger=WARN
\r
74 log4j.logger.org.apache=WARN,INIT
\r
75 log4j.logger.dme2=WARN,INIT
\r
76 log4j.logger.init=INFO,INIT
\r
77 log4j.logger.gw=_LOG4J_LEVEL_,GW
\r
78 log4j.logger.audit=INFO,AUDIT
\r