Mahendra Raghuwanshi | f92ec30 | 2018-05-03 12:15:03 +0000 | [diff] [blame^] | 1 | # Licensed to the Apache Software Foundation (ASF) under one |
| 2 | # or more contributor license agreements. See the NOTICE file |
| 3 | # distributed with this work for additional information |
| 4 | # regarding copyright ownership. The ASF licenses this file |
| 5 | # to you under the Apache License, Version 2.0 (the |
| 6 | # "License"); you may not use this file except in compliance |
| 7 | # with the License. You may obtain a copy of the License at |
| 8 | # |
| 9 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | # |
| 11 | # Unless required by applicable law or agreed to in writing, |
| 12 | # software distributed under the License is distributed on an |
| 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| 14 | # KIND, either express or implied. See the License for the |
| 15 | # specific language governing permissions and limitations |
| 16 | # under the License. |
| 17 | # |
| 18 | log4j.appender.INIT=org.apache.log4j.DailyRollingFileAppender |
| 19 | log4j.appender.INIT.File=${LOG4J_FILENAME_init} |
| 20 | log4j.appender.INIT.DatePattern='.'yyyy-MM-dd |
| 21 | log4j.appender.INIT.layout=org.apache.log4j.PatternLayout |
| 22 | log4j.appender.INIT.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss,SSSZ} %m %n |
| 23 | |
| 24 | log4j.appender.SRVR=org.apache.log4j.DailyRollingFileAppender |
| 25 | log4j.appender.SRVR.File=${LOG4J_FILENAME_service} |
| 26 | log4j.appender.SRVR.DatePattern='.'yyyy-MM-dd |
| 27 | log4j.appender.SRVR.layout=org.apache.log4j.PatternLayout |
| 28 | log4j.appender.SRVR.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss,SSSZ} %p [%c] %m %n |
| 29 | |
| 30 | log4j.appender.AUDIT=org.apache.log4j.DailyRollingFileAppender |
| 31 | log4j.appender.AUDIT.File=${LOG4J_FILENAME_audit} |
| 32 | log4j.appender.AUDIT.DatePattern='.'yyyy-MM-dd |
| 33 | log4j.appender.AUDIT.layout=org.apache.log4j.PatternLayout |
| 34 | log4j.appender.AUDIT.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss,SSSZ} %m %n |
| 35 | |
| 36 | log4j.appender.stdout=org.apache.log4j.ConsoleAppender |
| 37 | log4j.appender.stdout.layout=org.apache.log4j.PatternLayout |
| 38 | log4j.appender.stdout.layout.ConversionPattern=%d %p [%c] %m %n |
| 39 | |
| 40 | # General Apache libraries |
| 41 | log4j.rootLogger=WARN.SRVR |
| 42 | log4j.logger.org.apache=WARN,SRVR |
| 43 | log4j.logger.com.datastax=WARN,SRVR |
| 44 | log4j.logger.init=INFO,INIT |
| 45 | log4j.logger.service=${LOGGING_LEVEL},SRVR |
| 46 | log4j.logger.audit=INFO,AUDIT |
| 47 | # Additional configs, not cauth with Root Logger |
| 48 | log4j.logger.io.netty=INFO,SRVR |
| 49 | log4j.logger.org.eclipse=INFO,SRVR |
| 50 | |
| 51 | |