commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig R. McClanahan" <craig...@apache.org>
Subject RE: Logging in Digester
Date Fri, 17 Jan 2003 20:44:09 GMT


On Fri, 17 Jan 2003, Baltz, Kenneth wrote:

> Date: Fri, 17 Jan 2003 12:32:23 -0800
> From: "Baltz, Kenneth" <Kbaltz@FIRSTAM.COM>
> Reply-To: Jakarta Commons Users List <commons-user@jakarta.apache.org>
> To: Jakarta Commons Users List <commons-user@jakarta.apache.org>,
>      me@howardmiller.co.uk
> Subject: RE: Logging in Digester
>
> Try adding this to your command line to cause logging to go to the console:
>
> -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLog
>

For documentation on using commons-logging, check out it's documentation,
available online at:

  http://jakarta.apache.org/commons/logging/api/

> Also, try calling digester.setDebug() with a number like 10 ( higher numbers
> = more verbose logging)  I seem to recall not getting any messages until I
> got to at least 5 or 7.
>

On recent Digester releases, this won't help you -- setDebug() is
deprecated and totally ignored.

> K.C.

Craig


>
> > -----Original Message-----
> > From: Howard Miller [mailto:me@howardmiller.co.uk]
> > Sent: Friday, January 17, 2003 12:26 PM
> > To: jakarta Commons Users List
> > Subject: Logging in Digester
> >
> >
> > Hi,
> >
> > How can the digester be made to log what it is doing. It obviously
> > uses the commons logger, but I can't see any instructions on how to
> > use the facility.
> >
> > Can anybody help?
> >
> > Thanks
> >
> > --
> > To unsubscribe, e-mail:
> > <mailto:commons-user-unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail:
> > <mailto:commons-user-help@jakarta.apache.org>
> >
> >
>


Mime
View raw message