Elffuss BraidHub

kikocis/java-driver public

3.1.x · 2.3 KiBRawPermalink
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.
18log4j.rootLogger=INFO, A1
19
20# Adjust Scassandra's log level
21# (it seems some messages are conditioned by log4j.properties and others by reference.conf, so we need both)
22log4j.logger.org.scassandra=ERROR
23log4j.logger.spray.can=ERROR
24# Useful loggers when debugging Scassandra tests
25#log4j.logger.org.scassandra.cql=ERROR
26#log4j.logger.org.scassandra.server.cqlmessages=ERROR
27#log4j.logger.org.scassandra.server.priming=ERROR
28#log4j.logger.org.scassandra.server.priming.ActivityLog=ERROR
29#log4j.logger.org.scassandra.server.priming.PrimingServerHttpService=ERROR
30#log4j.logger.org.scassandra.server.priming.query.PrimeQueryStore=ERROR
31#log4j.logger.org.scassandra.http.client=ERROR
32
33# These loggers can be quite verbose
34log4j.logger.com.datastax.driver.core.Cluster=ERROR
35log4j.logger.com.datastax.driver.core.policies.DCAwareRoundRobinPolicy=ERROR
36
37# Useful loggers when debugging core functionality
38#log4j.logger.com.datastax.driver.core.ControlConnection=ERROR
39#log4j.logger.com.datastax.driver.core.HostConnectionPool=ERROR
40#log4j.logger.com.datastax.driver.core.Host.STATES=ERROR
41#log4j.logger.com.datastax.driver.core.Connection=ERROR
42
43# Adjust log levels for CCM tests
44#log4j.logger.com.datastax.driver.core.CCMTestsSupport=DEBUG
45#log4j.logger.com.datastax.driver.core.CCMCache=DEBUG
46#log4j.logger.com.datastax.driver.core.CCMBridge=DEBUG
47
48# A1 is set to be a ConsoleAppender.
49log4j.appender.A1=org.apache.log4j.ConsoleAppender
50
51# A1 uses PatternLayout.
52log4j.appender.A1.layout=org.apache.log4j.PatternLayout
53log4j.appender.A1.layout.ConversionPattern=\ %-6r [%t] %-5p %c %x- %m%n
54# less verbose layout
55#log4j.appender.A1.layout.ConversionPattern=%-5p%x %m%n
56