Repository: beam Updated Branches: refs/heads/master 4beed50f2 -> d4db4fb2c
[BEAM-1470] A quite logger for testing. Project: http://git-wip-us.apache.org/repos/asf/beam/repo Commit: http://git-wip-us.apache.org/repos/asf/beam/commit/8014a6e1 Tree: http://git-wip-us.apache.org/repos/asf/beam/tree/8014a6e1 Diff: http://git-wip-us.apache.org/repos/asf/beam/diff/8014a6e1 Branch: refs/heads/master Commit: 8014a6e1fe7cb631017e7cf2bb7df3cf77cf1536 Parents: 4beed50 Author: Sela <[email protected]> Authored: Mon Feb 13 11:27:42 2017 +0200 Committer: Stas Levin <[email protected]> Committed: Mon Feb 13 15:17:54 2017 +0200 ---------------------------------------------------------------------- .../spark/src/test/resources/log4j.properties | 30 ++++++++++++++++++++ 1 file changed, 30 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/beam/blob/8014a6e1/runners/spark/src/test/resources/log4j.properties ---------------------------------------------------------------------- diff --git a/runners/spark/src/test/resources/log4j.properties b/runners/spark/src/test/resources/log4j.properties new file mode 100644 index 0000000..66e83c8 --- /dev/null +++ b/runners/spark/src/test/resources/log4j.properties @@ -0,0 +1,30 @@ +################################################################################ +# 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 root logger level to ERROR. +# set manually to INFO for debugging purposes. +log4j.rootLogger=ERROR, testlogger + +# ConsoleAppender. +log4j.appender.testlogger=org.apache.log4j.ConsoleAppender +log4j.appender.testlogger.target = System.err +log4j.appender.testlogger.layout=org.apache.log4j.PatternLayout +log4j.appender.testlogger.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n + +# TestSparkRunner prints general information abut test pipelines execution. +log4j.logger.org.apache.beam.runners.spark.TestSparkRunner=INFO
