forked from apache/cassandra-java-driver
-
Notifications
You must be signed in to change notification settings - Fork 38
/
Copy pathlog4j.properties
57 lines (49 loc) · 2.29 KB
/
log4j.properties
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
#
# Copyright DataStax, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# Set root logger level to DEBUG and its only appender to A1.
log4j.rootLogger=INFO, A1
# Adjust Scassandra's log level
# (it seems some messages are conditioned by log4j.properties and others by reference.conf, so we need both)
log4j.logger.org.scassandra=ERROR
log4j.logger.spray.can=ERROR
# Useful loggers when debugging Scassandra tests
#log4j.logger.org.scassandra.cql=ERROR
#log4j.logger.org.scassandra.server.cqlmessages=ERROR
#log4j.logger.org.scassandra.server.priming=ERROR
#log4j.logger.org.scassandra.server.priming.ActivityLog=ERROR
#log4j.logger.org.scassandra.server.priming.PrimingServerHttpService=ERROR
#log4j.logger.org.scassandra.server.priming.query.PrimeQueryStore=ERROR
#log4j.logger.org.scassandra.http.client=ERROR
# These loggers can be quite verbose
log4j.logger.com.datastax.driver.core=DEBUG
#log4j.logger.com.datastax.driver.core.Cluster=ERROR
#log4j.logger.com.datastax.driver.core.policies.DCAwareRoundRobinPolicy=ERROR
# Useful loggers when debugging core functionality
#log4j.logger.com.datastax.driver.core.ControlConnection=ERROR
#log4j.logger.com.datastax.driver.core.HostConnectionPool=ERROR
#log4j.logger.com.datastax.driver.core.Host.STATES=ERROR
#log4j.logger.com.datastax.driver.core.Connection=ERROR
# Adjust log levels for CCM tests
#log4j.logger.com.datastax.driver.core.CCMTestsSupport=DEBUG
#log4j.logger.com.datastax.driver.core.CCMCache=DEBUG
log4j.logger.com.datastax.driver.core.CCMBridge=DEBUG
# A1 is set to be a ConsoleAppender.
log4j.appender.A1=org.apache.log4j.ConsoleAppender
# A1 uses PatternLayout.
log4j.appender.A1.layout=org.apache.log4j.PatternLayout
log4j.appender.A1.layout.ConversionPattern=\ %-6r [%t] %-5p %c %x- %m%n
# less verbose layout
#log4j.appender.A1.layout.ConversionPattern=%-5p%x %m%n