camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject git commit: CAMEL-7375 Changed the log4j.properties to use the file logger
Date Thu, 29 May 2014 11:37:19 GMT
Repository: camel
Updated Branches:
  refs/heads/master 1ec2395bb -> 02779d0a6


CAMEL-7375 Changed the log4j.properties to use the file logger


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/02779d0a
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/02779d0a
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/02779d0a

Branch: refs/heads/master
Commit: 02779d0a63eb50d222e4f8c319777abb0b20e5f5
Parents: 1ec2395
Author: Willem Jiang <willem.jiang@gmail.com>
Authored: Thu May 29 19:37:07 2014 +0800
Committer: Willem Jiang <willem.jiang@gmail.com>
Committed: Thu May 29 19:37:07 2014 +0800

----------------------------------------------------------------------
 .../camel-barcode/src/test/resources/log4j.properties       | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/02779d0a/components/camel-barcode/src/test/resources/log4j.properties
----------------------------------------------------------------------
diff --git a/components/camel-barcode/src/test/resources/log4j.properties b/components/camel-barcode/src/test/resources/log4j.properties
index 3b1bd38..4d6d975 100644
--- a/components/camel-barcode/src/test/resources/log4j.properties
+++ b/components/camel-barcode/src/test/resources/log4j.properties
@@ -1,7 +1,7 @@
 #
 # The logging properties used
 #
-log4j.rootLogger=INFO, out
+log4j.rootLogger=INFO, file
 
 # uncomment the following line to turn on Camel debugging
 #log4j.logger.org.apache.camel=DEBUG
@@ -12,3 +12,10 @@ log4j.appender.out.layout=org.apache.log4j.PatternLayout
 log4j.appender.out.layout.ConversionPattern=[%30.30t] %-30.30c{1} %-5p %m%n
 #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 %-5p %c{1} - %m %n
+log4j.appender.file.file=target/camel-barcode-test.log
+
+


Mime
View raw message