On Wednesday, May 28, 2003, at 10:16 AM, Timothy Bennett wrote:
1. I've picked up enough peripheral knowledge to know that it is possible
to configure Phoenix to use the Log4J Logger class as the default logger,
instead of the native LogKit logger class. Is there a decent set of
documentation that tells me what I need to do make that happen (i.e. do I
need a certain version of the framework jar(s), how to I configure Phoenix
to use the log4j logger, etc.)

in your environment.xml, put version="log4j" on the logs element.


2. Is is possible to configure Phoenix to use a subclass of the Log4J logger
class as its default logger, including the addition of custom log level
classes? If so, how? If not, why not?

You can probably use your own subclass of the log4j logger if that is something that you can configure via the Log4J XML configuration (only a guess tho, I have no experience).


Unfortunately you cannot use your custom levels though, as logging in Phoenix is done via the Logger abstraction (ie when using LogEnabled, components are unaware of the underlying logging impl)

3. Is all of the Log4J XML configuration parameters supported in the
environment.xml file?

yes. -pete


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



Reply via email to