sg481n | 43854a9 | 2017-08-03 17:27:34 -0400 | [diff] [blame^] | 1 | #-------------------------------------------------------------------------------
|
| 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 | #
|
| 45 | log4j.appender.INIT=org.apache.log4j.DailyRollingFileAppender
|
| 46 | log4j.appender.INIT.File=_LOG_DIR_/${LOG4J_FILENAME_init}
|
| 47 | log4j.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_
|
| 50 | log4j.appender.INIT.layout=org.apache.log4j.PatternLayout
|
| 51 | log4j.appender.INIT.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss,SSSZ} %m %n
|
| 52 |
|
| 53 |
|
| 54 | log4j.appender.SRVR=org.apache.log4j.DailyRollingFileAppender
|
| 55 | log4j.appender.SRVR.File=logs/${LOG4J_FILENAME_authz}
|
| 56 | log4j.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_
|
| 59 | log4j.appender.SRVR.layout=org.apache.log4j.PatternLayout
|
| 60 | log4j.appender.SRVR.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss,SSSZ} %p [%c] %m %n
|
| 61 |
|
| 62 | log4j.appender.AUDIT=org.apache.log4j.DailyRollingFileAppender
|
| 63 | log4j.appender.AUDIT.File=_LOG_DIR_/${LOG4J_FILENAME_audit}
|
| 64 | log4j.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_
|
| 67 | log4j.appender.AUDIT.layout=org.apache.log4j.PatternLayout
|
| 68 | log4j.appender.AUDIT.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss,SSSZ} %m %n
|
| 69 |
|
| 70 | log4j.appender.TRACE=org.apache.log4j.DailyRollingFileAppender
|
| 71 | log4j.appender.TRACE.File=logs/${LOG4J_FILENAME_trace}
|
| 72 | log4j.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_
|
| 75 | log4j.appender.TRACE.layout=org.apache.log4j.PatternLayout
|
| 76 | log4j.appender.TRACE.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss,SSSZ} %m %n
|
| 77 |
|
| 78 | log4j.appender.stdout=org.apache.log4j.ConsoleAppender
|
| 79 | log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
|
| 80 | log4j.appender.stdout.layout.ConversionPattern=%d %p [%c] %m %n
|
| 81 |
|
| 82 | # General Apache libraries
|
| 83 | log4j.rootLogger=WARN
|
| 84 | log4j.logger.org.apache=WARN,INIT
|
| 85 | log4j.logger.dme2=WARN,INIT
|
| 86 | log4j.logger.init=INFO,INIT
|
| 87 | log4j.logger.authz=_LOG4J_LEVEL_,SRVR
|
| 88 | log4j.logger.audit=INFO,AUDIT
|
| 89 | log4j.logger.trace=TRACE,TRACE
|
| 90 |
|
| 91 |
|