Updated Branches: refs/heads/camel-gora 2be953c6d -> 2e41adbda
CAMEL-4817 Added log4j.properties for camel-gora unit tests Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/2e41adbd Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/2e41adbd Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/2e41adbd Branch: refs/heads/camel-gora Commit: 2e41adbda465bd65b83c60bdf807760d99f4fa7a Parents: 2be953c Author: Willem Jiang <willem.ji...@gmail.com> Authored: Mon Dec 9 11:15:31 2013 +0800 Committer: Willem Jiang <willem.ji...@gmail.com> Committed: Mon Dec 9 11:15:31 2013 +0800 ---------------------------------------------------------------------- .../src/test/resources/log4j.properties | 36 ++++++++++++++++++++ 1 file changed, 36 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/2e41adbd/components/camel-gora/src/test/resources/log4j.properties ---------------------------------------------------------------------- diff --git a/components/camel-gora/src/test/resources/log4j.properties b/components/camel-gora/src/test/resources/log4j.properties new file mode 100644 index 0000000..9d05b41 --- /dev/null +++ b/components/camel-gora/src/test/resources/log4j.properties @@ -0,0 +1,36 @@ +## --------------------------------------------------------------------------- +## 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. +## --------------------------------------------------------------------------- + +# +# The logging properties used +# +log4j.rootLogger=INFO, file + +#log4j.logger.org.apache.camel=DEBUG + +# CONSOLE appender not used by default +log4j.appender.out=org.apache.log4j.ConsoleAppender +log4j.appender.out.layout=org.apache.log4j.PatternLayout +log4j.appender.out.layout.ConversionPattern=%d [%-15.15t] %-5p %-30.30c{1} - %m%n + +# File appender +log4j.appender.file=org.apache.log4j.FileAppender +log4j.appender.file.layout=org.apache.log4j.PatternLayout +log4j.appender.file.layout.ConversionPattern=%d [%-15.15t] %-5p %-30.30c{1} - %m%n +log4j.appender.file.file=target/camel-gora-test.log +log4j.appender.file.append=true +