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

> Date: Fri, 17 Jan 2003 12:32:23 -0800
> From: "Baltz, Kenneth" <[EMAIL PROTECTED]>
> Reply-To: Jakarta Commons Users List <[EMAIL PROTECTED]>
> To: Jakarta Commons Users List <[EMAIL PROTECTED]>,
>      [EMAIL PROTECTED]
> 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:[EMAIL PROTECTED]]
> > 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:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> >
> >
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to