jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincent Massol" <vmas...@octo.com>
Subject RE: Log4J Issues
Date Thu, 23 May 2002 08:42:45 GMT
Hi Jason,

> -----Original Message-----
> From: Robertson, Jason [mailto:Jason.Robertson@acs-inc.com]
> Sent: 02 May 2002 18:26
> To: 'Cactus Users List'
> Subject: Log4J Issues
> I'm having a bear of a time getting my log4j setup working with the
> 1.3 that was working fine with my dev build of a couple months ago.
> of
> it was me not updating my property files, but I have found a few
> 1. On the server side, I need cactus.properties in the classpath. This
> necessary so that LogService can find the 'cactus.enableLogging =
> property and enable the logging. The docs say this is only necessary
> the
> client side.

Not true. Check the doc. It says (referring to cactus.properties) :

First and foremost, this file is completely optional on the server side
(whereas it is mandatory on the client side). It is only used to turn on
Cactus internal logging on the server side.

> 2. The docs also say that default log_client.properties and
> log_server.properties files are in cactus.jar, but they are not.

That's right ... It was previously and for some reason I removed them
(still don't know if I did this on purpose !). In the end it is better
this way I think. But I'd like to know what others think. Should we put
it back in the jar file ? Anyway, I've just modified the doc.

> 3. I'm getting duplicate entries for each log line. I doubt this is a
> Cactus
> problem, anyone else seeing this? A log4j-1.2rc1 issue?

this, you solved yourself I believe.

> 4. I no longer see my EJB's log statements (I'm testing EJBs via
> ServletRedirector). I also don't see any errors (e.g., 'please
> the log4j subsystem properly') - I just don't see anything. This
> fine
> before.


> If anyone has ideas, please let me know!
> Jason


To unsubscribe, e-mail:   <mailto:cactus-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:cactus-user-help@jakarta.apache.org>

View raw message