blob: 75507e7a56940db1811f5b19d96401596d9ffd51 [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# 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{yyyy-MM-dd HH:mm:ss,SSSZ} %m %n
51
52
53log4j.appender.SRVR=org.apache.log4j.DailyRollingFileAppender
54log4j.appender.SRVR.File=logs/${LOG4J_FILENAME_authz}
55log4j.appender.SRVR.DatePattern='.'yyyy-MM-dd
56#log4j.appender.SRVR.MaxFileSize=_MAX_LOG_FILE_SIZE_
57#log4j.appender.SRVR.MaxBackupIndex=_MAX_LOG_FILE_BACKUP_COUNT_
58log4j.appender.SRVR.layout=org.apache.log4j.PatternLayout
59log4j.appender.SRVR.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss,SSSZ} %p [%c] %m %n
60
61log4j.appender.AUDIT=org.apache.log4j.DailyRollingFileAppender
62log4j.appender.AUDIT.File=_LOG_DIR_/${LOG4J_FILENAME_audit}
63log4j.appender.AUDIT.DatePattern='.'yyyy-MM-dd
64#log4j.appender.AUDIT.MaxFileSize=_MAX_LOG_FILE_SIZE_
65#log4j.appender.AUDIT.MaxBackupIndex=_MAX_LOG_FILE_BACKUP_COUNT_
66log4j.appender.AUDIT.layout=org.apache.log4j.PatternLayout
67log4j.appender.AUDIT.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss,SSSZ} %m %n
68
69log4j.appender.TRACE=org.apache.log4j.DailyRollingFileAppender
70log4j.appender.TRACE.File=logs/${LOG4J_FILENAME_trace}
71log4j.appender.TRACE.DatePattern='.'yyyy-MM-dd
72#log4j.appender.TRACE.MaxFileSize=_MAX_LOG_FILE_SIZE_
73#log4j.appender.TRACE.MaxBackupIndex=_MAX_LOG_FILE_BACKUP_COUNT_
74log4j.appender.TRACE.layout=org.apache.log4j.PatternLayout
75log4j.appender.TRACE.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss,SSSZ} %m %n
76
77log4j.appender.stdout=org.apache.log4j.ConsoleAppender
78log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
79log4j.appender.stdout.layout.ConversionPattern=%d %p [%c] %m %n
80
81# General Apache libraries
82log4j.rootLogger=WARN
83log4j.logger.org.apache=WARN,INIT
84log4j.logger.dme2=WARN,INIT
85log4j.logger.init=INFO,INIT
86log4j.logger.authz=_LOG4J_LEVEL_,SRVR
87log4j.logger.audit=INFO,AUDIT
88log4j.logger.trace=TRACE,TRACE
89
90