|
| 1 | +# |
| 2 | +# Licensed to the Apache Software Foundation (ASF) under one or more |
| 3 | +# contributor license agreements. See the NOTICE file distributed with |
| 4 | +# this work for additional information regarding copyright ownership. |
| 5 | +# The ASF licenses this file to You under the Apache License, Version 2.0 |
| 6 | +# (the "License"); you may not use this file except in compliance with |
| 7 | +# the License. You may obtain a copy of the License at |
| 8 | +# |
| 9 | +# http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | +# |
| 11 | +# Unless required by applicable law or agreed to in writing, software |
| 12 | +# distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | +# See the License for the specific language governing permissions and |
| 15 | +# limitations under the License. |
| 16 | +# |
| 17 | + |
| 18 | +# Set everything to be logged to the file target/unit-tests.log |
| 19 | +log4j.rootCategory=DEBUG, file, console |
| 20 | +log4j.appender.console=org.apache.log4j.ConsoleAppender |
| 21 | +log4j.appender.console.append=true |
| 22 | +log4j.appender.console.layout=org.apache.log4j.PatternLayout |
| 23 | +log4j.appender.console.layout.ConversionPattern=%d{yy/MM/dd HH:mm:ss.SSS} %t %p %c{1}: %m%n |
| 24 | + |
| 25 | +log4j.appender.file=org.apache.log4j.FileAppender |
| 26 | +log4j.appender.file.append=true |
| 27 | +log4j.appender.file.file=target/unit-tests.log |
| 28 | +log4j.appender.file.layout=org.apache.log4j.PatternLayout |
| 29 | +log4j.appender.file.layout.ConversionPattern=%d{yy/MM/dd HH:mm:ss.SSS} %t %p %c{1}: %m%n |
| 30 | + |
| 31 | +# Ignore messages below warning level from Jetty, because it's a bit verbose |
| 32 | +log4j.logger.org.eclipse.jetty=WARN |
| 33 | +log4j.logger.org.apache.spark.shuffle=WARN |
| 34 | +log4j.logger.org.apache.spark.scheduler=WARN |
| 35 | +log4j.logger.org.apache.spark.storage=WARN |
| 36 | +log4j.logger.org.apache.spark.executor=WARN |
| 37 | +log4j.logger.org.apache.spark.CacheManager=WARN |
| 38 | +log4j.logger.org.apache.spark=WARN |
| 39 | +log4j.logger.org.apache.spark.mllib=DEBUG |
| 40 | +log4j.logger.akka=WARN |
| 41 | +log4j.logger.org.scalatest=WARN |
0 commit comments