On Tue, 10 Sep 2002 22:51, Ole Bulbuk wrote:
> Hi,
>
> since using multiple logging packages is real pain (information from
> multiple logging files in multiple formats is (almost) impossible to
> integrate), I have to use Log4J for my project.
>
> I know that the LogEnabled interface enables me to use Log4J. But for the
> start up phase of Phoenix there will still logkit be used. I would really
> like to know if it would be possible to give run.sh (or now phoenix.sh) a
> parameter (e.g. -Dlogging=log4j) so that Log4J would be used right from the
> start.
>
> Good luck with the release,

You can allow hosted applications to use Log4j Loggers by implementing the 
interface org.apache.avalon.phoenix.interfaces.LogManager and then changing 
the setting in the conf/kernel.xml file. Currently there is no mechanism for 
redirecting the kernels logging via Log4j but I suppose you could do it by 
modifying or reimplementing CLIMain.

-- 
Cheers,

Peter Donald
--------------------------------
My opinions may have changed, 
but not the fact that I am right
-------------------------------- 


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

Reply via email to