diff options
author | Michael Lando <ml636r@att.com> | 2017-05-14 11:32:52 +0300 |
---|---|---|
committer | Michael Lando <ml636r@att.com> | 2017-05-14 11:46:35 +0300 |
commit | 6921632f70d9321b7e37c2a00618a21bccc0e765 (patch) | |
tree | 6789a7688e2fc9275c7ca63071ac2068c49b1746 /src/test/resources |
first commit for new repo
Change-Id: I307341ad768d38a60fb49f96b5b40186c0bd1205
Signed-off-by: Michael Lando <ml636r@att.com>
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> |