blob: 9f10802821c179f09fe55b2607220905975af4fc [file] [log] [blame]
Mahendra Raghuwanshiafb1e2a2018-05-03 12:15:03 +00001# 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#
18log4j.appender.INIT=org.apache.log4j.DailyRollingFileAppender
19log4j.appender.INIT.File=${LOG4J_FILENAME_init}
20log4j.appender.INIT.DatePattern='.'yyyy-MM-dd
21log4j.appender.INIT.layout=org.apache.log4j.PatternLayout
22log4j.appender.INIT.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss,SSSZ} %m %n
23
24log4j.appender.SRVR=org.apache.log4j.DailyRollingFileAppender
25log4j.appender.SRVR.File=${LOG4J_FILENAME_service}
26log4j.appender.SRVR.DatePattern='.'yyyy-MM-dd
27log4j.appender.SRVR.layout=org.apache.log4j.PatternLayout
28log4j.appender.SRVR.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss,SSSZ} %p [%c] %m %n
29
30log4j.appender.AUDIT=org.apache.log4j.DailyRollingFileAppender
31log4j.appender.AUDIT.File=${LOG4J_FILENAME_audit}
32log4j.appender.AUDIT.DatePattern='.'yyyy-MM-dd
33log4j.appender.AUDIT.layout=org.apache.log4j.PatternLayout
34log4j.appender.AUDIT.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss,SSSZ} %m %n
35
36log4j.appender.stdout=org.apache.log4j.ConsoleAppender
37log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
38log4j.appender.stdout.layout.ConversionPattern=%d %p [%c] %m %n
39
40# General Apache libraries
41log4j.rootLogger=WARN.SRVR
42log4j.logger.org.apache=WARN,SRVR
43log4j.logger.com.datastax=WARN,SRVR
44log4j.logger.init=INFO,INIT
45log4j.logger.service=${LOGGING_LEVEL},SRVR
46log4j.logger.audit=INFO,AUDIT
47# Additional configs, not cauth with Root Logger
48log4j.logger.io.netty=INFO,SRVR
49log4j.logger.org.eclipse=INFO,SRVR
50
51