diff options
Diffstat (limited to 'src/test/resources')
-rw-r--r-- | src/test/resources/log4j.properties | 35 | ||||
-rw-r--r-- | src/test/resources/rexster-fragment.xml | 13 |
2 files changed, 48 insertions, 0 deletions
diff --git a/src/test/resources/log4j.properties b/src/test/resources/log4j.properties new file mode 100644 index 0000000..271e198 --- /dev/null +++ b/src/test/resources/log4j.properties @@ -0,0 +1,35 @@ +# 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 diff --git a/src/test/resources/rexster-fragment.xml b/src/test/resources/rexster-fragment.xml new file mode 100644 index 0000000..19f88f9 --- /dev/null +++ b/src/test/resources/rexster-fragment.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<graph> + <graph-read-only>false</graph-read-only> + <graph-location>home</graph-location> + <properties> + <storage.backend>local</storage.backend> + </properties> + <extensions> + <allows> + <allow>tp:gremlin</allow> + </allows> + </extensions> +</graph> |