diff options
author | Patrick Wendell <pwendell@gmail.com> | 2014-01-09 15:57:44 -0800 |
---|---|---|
committer | Patrick Wendell <pwendell@gmail.com> | 2014-01-09 15:57:44 -0800 |
commit | 2af98198ad6e12bc8438488d306667020dbbc657 (patch) | |
tree | 22ab4a43f72b5936a82eaac3c207db02b8a02db1 /core/src/main/resources/org | |
parent | 04d83fc37f9eef89c20331c85291a0a169f75e6d (diff) | |
download | spark-2af98198ad6e12bc8438488d306667020dbbc657.tar.gz spark-2af98198ad6e12bc8438488d306667020dbbc657.tar.bz2 spark-2af98198ad6e12bc8438488d306667020dbbc657.zip |
Send logs to stderr by default (instead of stdout).
Diffstat (limited to 'core/src/main/resources/org')
-rw-r--r-- | core/src/main/resources/org/apache/spark/log4j-defaults.properties | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/src/main/resources/org/apache/spark/log4j-defaults.properties b/core/src/main/resources/org/apache/spark/log4j-defaults.properties index d72dbadc39..17d1978dde 100644 --- a/core/src/main/resources/org/apache/spark/log4j-defaults.properties +++ b/core/src/main/resources/org/apache/spark/log4j-defaults.properties @@ -1,6 +1,7 @@ # Set everything to be logged to the console log4j.rootCategory=INFO, console log4j.appender.console=org.apache.log4j.ConsoleAppender +log4j.appender.console.target=System.err log4j.appender.console.layout=org.apache.log4j.PatternLayout log4j.appender.console.layout.ConversionPattern=%d{yy/MM/dd HH:mm:ss} %p %c{1}: %m%n |