camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen" ...@silverbullet.dk>
Subject RE: Switching from log4j to JavaSE logging in examples
Date Fri, 09 May 2008 07:26:49 GMT
I have fixed the spelling in the headings ;)
h2. How --> to <-- I use Java 1.4 logging?

And the other one as well.


Med venlig hilsen
 
Claus Ibsen
......................................
Silverbullet
Skovsgårdsvænget 21
8362 Hørning
Tlf. +45 2962 7576
Web: www.silverbullet.dk

-----Original Message-----
From: James Strachan [mailto:james.strachan@gmail.com] 
Sent: 9. maj 2008 09:19
To: camel-user@activemq.apache.org
Subject: Re: Switching from log4j to JavaSE logging in examples

2008/5/9 Glen Mazza <glen.mazza@verizon.net>:
> That didn't work for me, but following the instructions at the link you
>  gave, I placed a commons-logging.properties file in the classpath with
>  the following entries:
>
>  org.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger
>  #org.apache.commons.logging.Log=org.apache.commons.logging.impl.Log4JLogger
>
>  Works fine now, and by commenting out one or the other I can switch
>  between the two.

Ah great, thanks!

I figured this warranted a FAQ entry so I've hacked up a little FAQ
area on logging

http://cwiki.apache.org/CAMEL/logging-questions.html
-- 
James
-------
http://macstrac.blogspot.com/

Open Source Integration
http://open.iona.com

Mime
View raw message