aboutsummaryrefslogtreecommitdiffstats
path: root/pig/tests/log4j.properties
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2018-03-29 23:25:34 -0700
committerBryan Newbold <bnewbold@archive.org>2018-03-29 23:25:34 -0700
commitb67d08495cf8caa3fa52cf8f8f80389250685218 (patch)
tree2221804285c124703d7d1a7df057eec347bea61b /pig/tests/log4j.properties
parent2d85e1cce20bea15595a70f2d1fb303e95ca5d0f (diff)
downloadsandcrawler-b67d08495cf8caa3fa52cf8f8f80389250685218.tar.gz
sandcrawler-b67d08495cf8caa3fa52cf8f8f80389250685218.zip
basically working pig test
Diffstat (limited to 'pig/tests/log4j.properties')
-rw-r--r--pig/tests/log4j.properties9
1 files changed, 9 insertions, 0 deletions
diff --git a/pig/tests/log4j.properties b/pig/tests/log4j.properties
new file mode 100644
index 0000000..e094722
--- /dev/null
+++ b/pig/tests/log4j.properties
@@ -0,0 +1,9 @@
+log4j.rootLogger=WARN, stdout
+log4j.appender.stdout=org.apache.log4j.ConsoleAppender
+log4j.appender.stdout.Target=System.out
+log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
+log4j.appender.stdout.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n
+
+# With these enabled, get "log4j:ERROR Attempted to append to closed appender named [stdout]"
+#log4j.logger.org.apache.pig=WARN, stdout
+#log4j.logger.org.apache.hadoop = WARN, stdout