commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Calvin Yu <cy...@yahoo.com>
Subject Re: [Logging] Configuring JDK 1.4 logging
Date Sat, 20 Jul 2002 13:45:14 GMT

Do you have the 'java.util.logging.config.file' property specified? 
I was able to set it up using the javadoc documentation in
java.util.logging.LogManager.

Calvin Yu

--- Martin Cooper <martin.cooper@tumbleweed.com> wrote:
> OK, call me an idiot, but I just cannot seem to get Commons Logging
> and JDK
> 1.4 logging to log what I want logged. I understand that Commons
> Logging
> delegates to JDK 1.4 logging (in my particular case, since I'm
> using JDK 1.4
> but not Log4j), but nothing I do with logging.properties files
> makes any
> difference to what I see.
> 
> According to the Commons Logging docs, if I'm using JDK 1.4, and I
> don't
> specify any other logging mechanism, then it will use JDK 1.4
> logging. This
> much seems to work - I do see periodic INFO messages from code I'm
> using.
> 
> Getting more than INFO messages is where I seem to be stuck. My
> interpretation of the Commons Logging docs is that I shouldn't have
> to
> configure anything for that, and that the only configuration I
> should have
> to do is for JDK 1.4 logging.
> 
> However, I've created logging.properties files, per the JDK 1.4
> logging
> docs, with the logging level turned up to FINEST for everything,
> and still I
> see nothing but the occasional INFO message. I've even tried
> splattering
> logging.properties files all over my disk in the hope that I'll
> stumble
> across the right location, and everything will start working, but
> to no
> avail.
> 
> If there's someone out there who is successfully using Commons
> Logging with
> JDK 1.4 logging, I'd sure appreciate some hints and tips...
> 
> Thanks!
> 
> --
> Martin Cooper
> 
> 
> --
> To unsubscribe, e-mail:  
> <mailto:commons-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:commons-dev-help@jakarta.apache.org>
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com

--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message