Sylvain Desbureaux | 9e2ca9d | 2021-01-11 08:15:10 +0000 | [diff] [blame] | 1 | ######### |
| 2 | # ============LICENSE_START==================================================== |
| 3 | # org.onap.aaf |
| 4 | # =========================================================================== |
| 5 | # Copyright (c) 2017 AT&T Intellectual Property. All rights reserved. |
| 6 | # Copyright (c) 2020 Orange Intellectual Property. All rights reserved. |
| 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 | |
| 22 | log4j.appender.INIT=org.apache.log4j.DailyRollingFileAppender |
| 23 | log4j.appender.INIT.File=${LOG4J_FILENAME_init} |
| 24 | log4j.appender.INIT.DatePattern='.'yyyy-MM-dd |
| 25 | log4j.appender.INIT.layout=org.apache.log4j.PatternLayout |
| 26 | log4j.appender.INIT.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss,SSSZ} %m %n |
| 27 | |
| 28 | log4j.appender.SRVR=org.apache.log4j.DailyRollingFileAppender |
| 29 | log4j.appender.SRVR.File=${LOG4J_FILENAME_service} |
| 30 | log4j.appender.SRVR.DatePattern='.'yyyy-MM-dd |
| 31 | log4j.appender.SRVR.layout=org.apache.log4j.PatternLayout |
| 32 | log4j.appender.SRVR.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss,SSSZ} %p [%c] %m %n |
| 33 | |
| 34 | log4j.appender.AUDIT=org.apache.log4j.DailyRollingFileAppender |
| 35 | log4j.appender.AUDIT.File=${LOG4J_FILENAME_audit} |
| 36 | log4j.appender.AUDIT.DatePattern='.'yyyy-MM-dd |
| 37 | log4j.appender.AUDIT.layout=org.apache.log4j.PatternLayout |
| 38 | log4j.appender.AUDIT.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss,SSSZ} %m %n |
| 39 | |
| 40 | log4j.appender.stdout=org.apache.log4j.ConsoleAppender |
| 41 | log4j.appender.stdout.layout=org.apache.log4j.PatternLayout |
| 42 | log4j.appender.stdout.layout.ConversionPattern=%d %p [%c] %m %n |
| 43 | |
| 44 | # General Apache libraries |
| 45 | log4j.rootLogger=WARN.SRVR |
| 46 | log4j.logger.org.apache=WARN,SRVR |
| 47 | log4j.logger.com.datastax=WARN,SRVR |
| 48 | log4j.logger.init=INFO,INIT,stdout |
| 49 | log4j.logger.service=${LOGGING_LEVEL},SRVR,stdout |
| 50 | log4j.logger.audit=INFO,AUDIT |
| 51 | # Additional configs, not caugth with Root Logger |
| 52 | log4j.logger.io.netty=INFO,SRVR |
| 53 | log4j.logger.org.eclipse=INFO,SRVR |