You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Simon Kelly <ke...@ipe.fzk.de> on 2003/01/29 12:12:17 UTC

logging within struts.

Hi all,

I am trying to put some logging into my web-app, and was wondering if it was
possible to add a logger to the struts LogManager?  But if not, would
creating my own LogManager interfer with the struts manager?

Cheers

Simon

PS
Does anyone know of a decent tutorial on logging?

Institut fuer
Prozessdatenverarbeitung
und Elektronik,
Forschungszentrum Karlsruhe GmbH,
Postfach 3640,
D-76021 Karlsruhe,
Germany.

Tel: (+49)/7247 82-4042
E-mail : kelly@ipe.fzk.de


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


Re: logging within struts.

Posted by Simon Kelly <ke...@ipe.fzk.de>.
Thanks.  I'll give it a go.

Simon

----- Original Message -----
From: "Arnaud HERITIER" <ah...@sopragroup.com>
To: "'Struts Users Mailing List'" <st...@jakarta.apache.org>
Sent: Wednesday, January 29, 2003 1:59 PM
Subject: RE: logging within struts.


> Struts 1.1 uses Commons-logging as logs wrapper.
>
> You can use the logging library you want (log4J, JDK 1.4, ...).
>
> See the documentation of commons-logging for more explanations.
>
> http://jakarta.apache.org/commons/logging.html
> and
>
http://jakarta.apache.org/commons/logging/api/org/apache/commons/logging/pac
> kage-summary.html
>
> Arnaud
>
>
> > -----Message d'origine-----
> > De : Simon Kelly [mailto:kelly@ipe.fzk.de]
> > Envoyé : mercredi 29 janvier 2003 12:12
> > À : Struts Users Mailing List
> > Objet : logging within struts.
> >
> >
> > Hi all,
> >
> > I am trying to put some logging into my web-app, and was
> > wondering if it was
> > possible to add a logger to the struts LogManager?  But if not, would
> > creating my own LogManager interfer with the struts manager?
> >
> > Cheers
> >
> > Simon
> >
> > PS
> > Does anyone know of a decent tutorial on logging?
> >
> > Institut fuer
> > Prozessdatenverarbeitung
> > und Elektronik,
> > Forschungszentrum Karlsruhe GmbH,
> > Postfach 3640,
> > D-76021 Karlsruhe,
> > Germany.
> >
> > Tel: (+49)/7247 82-4042
> > E-mail : kelly@ipe.fzk.de
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: struts-user-help@jakarta.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
>


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


RE: logging within struts.

Posted by Arnaud HERITIER <ah...@sopragroup.com>.
Struts 1.1 uses Commons-logging as logs wrapper.

You can use the logging library you want (log4J, JDK 1.4, ...).

See the documentation of commons-logging for more explanations.

http://jakarta.apache.org/commons/logging.html
and
http://jakarta.apache.org/commons/logging/api/org/apache/commons/logging/pac
kage-summary.html

Arnaud


> -----Message d'origine-----
> De : Simon Kelly [mailto:kelly@ipe.fzk.de]
> Envoyé : mercredi 29 janvier 2003 12:12
> À : Struts Users Mailing List
> Objet : logging within struts.
>
>
> Hi all,
>
> I am trying to put some logging into my web-app, and was
> wondering if it was
> possible to add a logger to the struts LogManager?  But if not, would
> creating my own LogManager interfer with the struts manager?
>
> Cheers
>
> Simon
>
> PS
> Does anyone know of a decent tutorial on logging?
>
> Institut fuer
> Prozessdatenverarbeitung
> und Elektronik,
> Forschungszentrum Karlsruhe GmbH,
> Postfach 3640,
> D-76021 Karlsruhe,
> Germany.
>
> Tel: (+49)/7247 82-4042
> E-mail : kelly@ipe.fzk.de
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>


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