# A1 is set to be a FileAppender.
log4j.appender.A1=org.apache.log4j.FileAppender
log4j.appender.A1.File=target/test.log

# A1 uses PatternLayout.
log4j.appender.A1.layout=org.apache.log4j.PatternLayout
log4j.appender.A1.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n

# Set root logger level to the designated level and its only appender to A1.
log4j.rootLogger=INFO, A1

log4j.logger.org.apache.cassandra=INFO
log4j.logger.org.apache.hadoop=INFO
log4j.logger.org.apache.zookeeper=INFO
# A1 is a FileAppender.
log4j.appender.A1=org.apache.log4j.FileAppender
log4j.appender.A1.File=target/test.log
log4j.appender.A1.Threshold=INFO
# A1 uses PatternLayout.
log4j.appender.A1.layout=org.apache.log4j.PatternLayout
log4j.appender.A1.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n

# A2 is a ConsoleAppender.
log4j.appender.A2=org.apache.log4j.ConsoleAppender
log4j.appender.A2.Threshold=WARN
# A2 uses PatternLayout.
log4j.appender.A2.layout=org.apache.log4j.PatternLayout
log4j.appender.A2.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n

# Set both appenders (A1 and A2) on the root logger.
log4j.rootLogger=INFO, A1, A2

# Restrict some of Titan's dependencies to INFO and scarier.
# These restrictions are useful when reducing the severity threshold
# setting on one of the appenders below INFO.
log4j.logger.org.apache.cassandra=INFO
log4j.logger.org.apache.hadoop=INFO
log4j.logger.org.apache.zookeeper=INFO

Tweak titan-cassandra test log config
Tweak titan-cassandra test log config

Cassandra tests now log in two places:

* Console (severities WARN and up)
* File target/test.log (severities INFO and up)

I'm hoping that logging to the console and to file (instead of just to
file) will help debug some Cassandra test failures on Travis CI where
we can't access the test log file.
