| 1 | # |
| 2 | # Copyright (C) 2012-2015 DataStax Inc. |
| 3 | # |
| 4 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | # you may not use this file except in compliance with the License. |
| 6 | # You may obtain a copy of the License at |
| 7 | # |
| 8 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | # |
| 10 | # Unless required by applicable law or agreed to in writing, software |
| 11 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | # See the License for the specific language governing permissions and |
| 14 | # limitations under the License. |
| 15 | # |
| 16 | |
| 17 | # Set root logger level to DEBUG and its only appender to A1. |
| 18 | log4j.rootLogger=INFO, A1 |
| 19 | |
| 20 | # Scassandra's info log is a bit verbose |
| 21 | log4j.logger.org.scassandra=WARN |
| 22 | |
| 23 | # A1 is set to be a ConsoleAppender. |
| 24 | log4j.appender.A1=org.apache.log4j.ConsoleAppender |
| 25 | |
| 26 | # A1 uses PatternLayout. |
| 27 | log4j.appender.A1.layout=org.apache.log4j.PatternLayout |
| 28 | log4j.appender.A1.layout.ConversionPattern=\ %-6r [%t] %-5p %c %x - %m%n |