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