aboutsummaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorReynold Xin <rxin@databricks.com>2015-01-20 00:55:25 -0800
committerReynold Xin <rxin@databricks.com>2015-01-20 00:55:25 -0800
commitdebc03195302789b022e329ce6ade5d7fe225a3c (patch)
treeb14931690ad6dd01c0cad7e022eba698bf5a3e35 /sql
parent306ff187af0c49f61f4bc1850021561397b4f8f1 (diff)
downloadspark-debc03195302789b022e329ce6ade5d7fe225a3c.tar.gz
spark-debc03195302789b022e329ce6ade5d7fe225a3c.tar.bz2
spark-debc03195302789b022e329ce6ade5d7fe225a3c.zip
[SQL][minor] Add a log4j file for catalyst test.
Author: Reynold Xin <rxin@databricks.com> Closes #4117 from rxin/catalyst-test-log4j and squashes the following commits: 8ad610b [Reynold Xin] [SQL][minor] Add a log4j file for catalyst test.
Diffstat (limited to 'sql')
-rw-r--r--sql/catalyst/src/test/resources/log4j.properties28
1 files changed, 28 insertions, 0 deletions
diff --git a/sql/catalyst/src/test/resources/log4j.properties b/sql/catalyst/src/test/resources/log4j.properties
new file mode 100644
index 0000000000..287c8e3563
--- /dev/null
+++ b/sql/catalyst/src/test/resources/log4j.properties
@@ -0,0 +1,28 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+# Set everything to be logged to the file target/unit-tests.log
+log4j.rootCategory=INFO, file
+log4j.appender.file=org.apache.log4j.FileAppender
+log4j.appender.file.append=true
+log4j.appender.file.file=target/unit-tests.log
+log4j.appender.file.layout=org.apache.log4j.PatternLayout
+log4j.appender.file.layout.ConversionPattern=%d{yy/MM/dd HH:mm:ss.SSS} %t %p %c{1}: %m%n
+
+# Ignore messages below warning level from Jetty, because it's a bit verbose
+log4j.logger.org.eclipse.jetty=WARN
+org.eclipse.jetty.LEVEL=WARN