You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cactus-user@jakarta.apache.org by karthik Guru <ka...@yahoo.com> on 2003/08/05 18:02:06 UTC

viewing cactus logs

I notice this in the source files,

eg:

 private static final Log LOGGER = 
        LogFactory.getLog(FormAuthentication.class);


Hope placing

log4j.category.org.apache.cactus=DEBUG

in my logger.properties w'd help me see cactus logs as
well. 

I have actually forgotten how the underlying logger
implementation works. I remeber havign specified
strings ( package names instead of specifying the
java.lang.class instance) to the getLogger method. But
am not quite sure here. Then just specifying the
parent folder used to be enuf to enable logging @ the
sub packages level.

Either way, w'd specifying the parent
org.apache.cactus
help me view cactus debug statements?

thanks,
karthik

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

RE: viewing cactus logs

Posted by Vincent Massol <vm...@pivolis.com>.
Hi Karthik,

If you want to enable Cactus logging, you need to read
http://jakarta.apache.org/cactus/integration/howto_config.html#logging

Cactus uses commons-logging so configuring Cactus logging is similar to
configure commons-logging. Commons-logging documentation is available at
http://jakarta.apache.org/commons/logging/api/org/apache/commons/logging
/package-summary.html#package_description

Are you using the Maven plugin for Cactus or the Eclipse plugin? (I'm
asking because logging configuration is different then).

Hope it helps,
-Vincent

> -----Original Message-----
> From: karthik Guru [mailto:karthik_guru2000@yahoo.com]
> Sent: 05 August 2003 18:02
> To: Cactus Users List
> Subject: viewing cactus logs
> 
> I notice this in the source files,
> 
> eg:
> 
>  private static final Log LOGGER =
>         LogFactory.getLog(FormAuthentication.class);
> 
> 
> Hope placing
> 
> log4j.category.org.apache.cactus=DEBUG
> 
> in my logger.properties w'd help me see cactus logs as
> well.
> 
> I have actually forgotten how the underlying logger
> implementation works. I remeber havign specified
> strings ( package names instead of specifying the
> java.lang.class instance) to the getLogger method. But
> am not quite sure here. Then just specifying the
> parent folder used to be enuf to enable logging @ the
> sub packages level.
> 
> Either way, w'd specifying the parent
> org.apache.cactus
> help me view cactus debug statements?
> 
> thanks,
> karthik
> 
> __________________________________
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free, easy-to-use web site design software
> http://sitebuilder.yahoo.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: cactus-user-help@jakarta.apache.org