commons-logging does not configure log4j in any way. it simply passes messages through to log4j. all you need to do is to configure log4j using an appropriate xml file and commons-logging will work fine. please consult the log4j documentation (http://jakarta.apache.org/log4j/docs/documentation.html) for more information.

- robert

On Wednesday, September 17, 2003, at 09:40 PM, [EMAIL PROTECTED] wrote:

That's exactly my point...the use of AsyncAppender requires an XML
formatted configuration file, not a java properties formatted configuration
file, and the commons-logging doesn't seem to work with such configuration
files.


Should I be posting this on the log4j mailing list?


On Wed, 17 Sep 2003 [EMAIL PROTECTED] wrote:


Date: Wed, 17 Sep 2003 12:03:28 -0400
From: [EMAIL PROTECTED]
Reply-To: Jakarta Commons Users List <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Commons-loggin and AsyncAppender

I wish to use a log4j AsyncAppender behind the commons-logging facade.
The
issue is that I know the use of AsyncAppenders requires an XML
configuration file, and the DOMConfigurator to digest this config file.
Is
this possible when using commons-logging?


Sure. Commons-logging doesn't care how you configure the underlying logging system (Log4J in your case). Just follow the standard Log4J documentation on how to set this up.

Thanks.

Craig


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




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



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



Reply via email to