Logging now to a file in the target folder.
Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/c2f3e4d4 Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/c2f3e4d4 Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/c2f3e4d4 Branch: refs/heads/master Commit: c2f3e4d418d8b5c976d2752d309fbce701bc903d Parents: 8855e2e Author: gilfernandes <gil.fernan...@gmail.com> Authored: Tue Nov 22 15:26:59 2016 +0000 Committer: Andrea Cosentino <anco...@gmail.com> Committed: Fri Nov 25 10:05:37 2016 +0100 ---------------------------------------------------------------------- .../src/test/resources/log4j2.properties | 31 ++++++++++++++++++-- 1 file changed, 28 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/c2f3e4d4/components/camel-firebase/src/test/resources/log4j2.properties ---------------------------------------------------------------------- diff --git a/components/camel-firebase/src/test/resources/log4j2.properties b/components/camel-firebase/src/test/resources/log4j2.properties index 328db35..08ddb6a 100644 --- a/components/camel-firebase/src/test/resources/log4j2.properties +++ b/components/camel-firebase/src/test/resources/log4j2.properties @@ -1,7 +1,32 @@ +## --------------------------------------------------------------------------- +## 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. +## --------------------------------------------------------------------------- -appender.out.type = Console +appender.out.type = File appender.out.name = out +appender.out.fileName = target/camel-firebase-test.log appender.out.layout.type = PatternLayout -appender.out.layout.pattern = [%30.30t] %-30.30c{1} %-5p %m%n +appender.out.layout.pattern = %d [%-15.15t] %-5p %-30.30c{1} - %m%n +appender.stdout.type = Console +appender.stdout.name = stdout +appender.stdout.layout.type = PatternLayout +appender.stdout.layout.pattern = %d [%-15.15t] %-5p %-30.30c{1} - %m%n +logger.camel.name = org.apache.camel +logger.camel.level = DEBUG +logger.firebase.name = org.apache.camel.firebase +logger.firebase.level = DEBUG rootLogger.level = INFO -rootLogger.appenderRef.out.ref = out +rootLogger.appenderRef.out.ref = out \ No newline at end of file