--- "Gilbert, Antoine" <[EMAIL PROTECTED]> wrote:
> can i use something like that ? directly ?
> 
> log4j.category.org.apache=DEBUG

I got this sample log4j.properties from the log4j
short manual.

# Set root logger level to DEBUG and its only appender
to A1.
log4j.rootLogger=DEBUG, A1

# A1 is set to be a ConsoleAppender.
log4j.appender.A1=org.apache.log4j.ConsoleAppender

# A1 uses PatternLayout.
log4j.appender.A1.layout=org.apache.log4j.PatternLayout
log4j.appender.A1.layout.ConversionPattern=%-4r [%t]
%-5p %c %x - %m%n

Of course this means that struts and your web
application will also display DEBUG messages.

Phil

> 
> -----Message d'origine-----
> De : Geeta Ramani [mailto:[EMAIL PROTECTED]
> Envoy� : 16 octobre, 2003 11:12
> � : Struts Users Mailing List
> Objet : Re: logs
> 
> 
> Maybe I misunderstand you (?), but all you have to
> do is (as usual) add lines
> in your log4j.properties file, something like:
> 
> log4j.category.yourpackagename.YourAction=DEBUG
> log4j.category.yourpackagename.YourForm=DEBUG
> 
> etc.
> Geeta
> 
> "Gilbert, Antoine" wrote:
> 
> > How i can configure my log4j.properties to log
> DEBUG info about my struts ?
> >
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> > For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 


__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com

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

Reply via email to