first commit for new repo
[sdc/sdc-titan-cassandra.git] / config / cassandra / log4j-server.properties
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, software
12 # distributed under the License is distributed on an "AS IS" BASIS,
13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 # See the License for the specific language governing permissions and
15 # limitations under the License.
16
17 # for production, you should probably set pattern to %c instead of %l.  
18 # (%l is slower.)
19
20 # output messages into a rolling log file as well as stdout
21 log4j.rootLogger=INFO,stdout,R
22
23 # stdout
24 log4j.appender.stdout=org.apache.log4j.ConsoleAppender
25 log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
26 log4j.appender.stdout.layout.ConversionPattern=%5p %d{HH:mm:ss,SSS} %m%n
27
28 # rolling log file
29 log4j.appender.R=org.apache.log4j.RollingFileAppender
30 log4j.appender.R.maxFileSize=20MB
31 log4j.appender.R.maxBackupIndex=50
32 log4j.appender.R.layout=org.apache.log4j.PatternLayout
33 log4j.appender.R.layout.ConversionPattern=%5p [%t] %d{ISO8601} %F (line %L) %m%n
34 # Edit the next line to point to your logs directory
35 log4j.appender.R.File=${cassandra.dir}/system.log
36
37 # Application logging options
38 #log4j.logger.org.apache.cassandra=DEBUG
39 #log4j.logger.org.apache.cassandra.graph=DEBUG
40 #log4j.logger.org.apache.cassandra.service.StorageProxy=DEBUG
41