commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Craig McClanahan <craig...@gmail.com>
Subject Re: Enabling JDK1.4 logging for DEBUG level
Date Fri, 29 Oct 2004 03:48:36 GMT
The default mapping of  Commons Logging levels to JDK logging levels is:

debug() --> FINE
error() --> SEVERE
fatal() --> SEVERE
info() --> INFO
trace() --> FINEST
warn() --> WARNING

Craig



On Thu, 28 Oct 2004 20:20:38 -0700 (PDT), Ronaldo Nascimento
<ronaldoc@crapmail.com> wrote:
> I'm using commons-logging and I am having problems enabling debug statements to show
up. I've added this option to the "java" command invocation:
> 
> -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger
> 
> Based on this onjava.com article http://www.onjava.com/pub/a/onjava/2002/06/19/log.html,
I cannot see any levels that corresponds to a logger.debug(Object o).
> 
> What should I do to show my debug logs ?
> 
> Thanks
> 
> Ronaldo
> 
> _____________________________________________________________
> Get your free Crapmail---> http://www.crapmail.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message