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