sg481n | bd890c5 | 2017-08-28 12:11:35 -0400 | [diff] [blame] | 1 | #-------------------------------------------------------------------------------
|
| 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 | #
|
| 44 | log4j.appender.INIT=org.apache.log4j.DailyRollingFileAppender
|
| 45 | log4j.appender.INIT.File=_LOG_DIR_/${LOG4J_FILENAME_init}
|
| 46 | log4j.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_
|
| 49 | log4j.appender.INIT.layout=org.apache.log4j.PatternLayout
|
| 50 | log4j.appender.INIT.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss,SSSZ} %m %n
|
| 51 |
|
| 52 |
|
| 53 | log4j.appender.SRVR=org.apache.log4j.DailyRollingFileAppender
|
| 54 | log4j.appender.SRVR.File=logs/${LOG4J_FILENAME_authz}
|
| 55 | log4j.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_
|
| 58 | log4j.appender.SRVR.layout=org.apache.log4j.PatternLayout
|
| 59 | log4j.appender.SRVR.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss,SSSZ} %p [%c] %m %n
|
| 60 |
|
| 61 | log4j.appender.AUDIT=org.apache.log4j.DailyRollingFileAppender
|
| 62 | log4j.appender.AUDIT.File=_LOG_DIR_/${LOG4J_FILENAME_audit}
|
| 63 | log4j.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_
|
| 66 | log4j.appender.AUDIT.layout=org.apache.log4j.PatternLayout
|
| 67 | log4j.appender.AUDIT.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss,SSSZ} %m %n
|
| 68 |
|
| 69 | log4j.appender.TRACE=org.apache.log4j.DailyRollingFileAppender
|
| 70 | log4j.appender.TRACE.File=logs/${LOG4J_FILENAME_trace}
|
| 71 | log4j.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_
|
| 74 | log4j.appender.TRACE.layout=org.apache.log4j.PatternLayout
|
| 75 | log4j.appender.TRACE.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss,SSSZ} %m %n
|
| 76 |
|
| 77 | log4j.appender.stdout=org.apache.log4j.ConsoleAppender
|
| 78 | log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
|
| 79 | log4j.appender.stdout.layout.ConversionPattern=%d %p [%c] %m %n
|
| 80 |
|
| 81 | # General Apache libraries
|
| 82 | log4j.rootLogger=WARN
|
| 83 | log4j.logger.org.apache=WARN,INIT
|
| 84 | log4j.logger.dme2=WARN,INIT
|
| 85 | log4j.logger.init=INFO,INIT
|
| 86 | log4j.logger.authz=_LOG4J_LEVEL_,SRVR
|
| 87 | log4j.logger.audit=INFO,AUDIT
|
| 88 | log4j.logger.trace=TRACE,TRACE
|
| 89 |
|
| 90 |
|
sg481n | a2ac678 | 2017-09-18 16:35:50 -0400 | [diff] [blame] | 91 | log4j.appender.SVR=org.apache.log4j.RollingFileAppender
|
| 92 | log4j.appender.SVR.File=${user.home}/.aaf/authz-cmd.log
|
| 93 | log4j.appender.SVR.MaxFileSize=10000KB
|
| 94 | log4j.appender.SVR.MaxBackupIndex=1
|
| 95 | log4j.appender.SVR.layout=org.apache.log4j.PatternLayout
|
| 96 | log4j.appender.SVR.layout.ConversionPattern=%d %p [%c] %m %n
|
| 97 |
|
| 98 | # General Apache libraries
|
| 99 | log4j.rootLogger=WARN,SVR
|