Hi,

You are right ! I had not thought about this ... How about the following :
- do not reinitialize Log4j (if already initialized)
- add a new appender *ONLY* for org.apache.commons.cactus.* packages, so
that the logs will go to a specific log file

Thanks
Vincent

----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 02, 2001 9:58 AM
Subject: [cactus] Configuration of logj4


> Hi
>
> Thanks for a very usefull unit testing framework.
>
> It would be very helpfull if you could switch off or have a more
> intelligient configuration of log4j. I'm using log4j in my components and
> Cactus gets in my way becase Cactus reinitialises log4j and thus ruins the
> original setup.
>
> A solution could be to check if log4j has alreay been initialized by a
> component outside the cactus framework or a configuration switch to
disable
> the use of log4j by Cactus.
>
>
> Regards
> Henrik Fredholm
>
>
>

Reply via email to