avalon-phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <pe...@apache.org>
Subject Re: Log4J all over Phoenix
Date Wed, 11 Sep 2002 09:10:52 GMT
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.


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

To unsubscribe, e-mail:   <mailto:avalon-phoenix-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-phoenix-dev-help@jakarta.apache.org>

View raw message