# A1 is a FileAppender. log4j.appender.A1=org.apache.log4j.FileAppender log4j.appender.A1.File=target/test.log log4j.appender.A1.Threshold=TRACE # A1 uses PatternLayout. log4j.appender.A1.layout=org.apache.log4j.PatternLayout log4j.appender.A1.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss.SSS} [%t] %-5p %c{2}: %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=%d{yyyy-MM-dd HH:mm:ss.SSS} [%t] %-5p %c{2}: %m%n # Set both appenders (A1 and A2) on the root logger. log4j.rootLogger=INFO, A1, A2 #log4j.rootLogger=INFO, A1 # 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 # Disable all messages from ExpectedValueCheckingTransaction. The point is to # suppress scary-looking ERROR messages that are deliberately induced by # LockKeyColumnValueStoreTest. log4j.logger.com.thinkaurelius.titan.diskstorage.locking.consistentkey.ExpectedValueCheckingTransaction=OFF # Lower dblog-related message thresholds log4j.logger.com.thinkaurelius.titan.diskstorage.log.kcvs.KCVSLog=DEBUG log4j.logger.com.thinkaurelius.titan.diskstorage.log.LogTest=DEBUG log4j.logger.com.thinkaurelius.titan.diskstorage.log.KCVSLogTest=DEBUG log4j.logger.com.thinkaurelius.titan.diskstorage.log.util.ProcessMessageJob=DEBUG log4j.logger.com.thinkaurelius.titan.diskstorage.util.time.Timestamps=DEBUG