Appenders can be added on the fly but there isn't anything that will
write the new log4j.xml.

You can get the attached appenders from the logger.

On 6/19/07, Ashish Gupta <[EMAIL PROTECTED]> wrote:
Hi,

I'm using log4j in my application for logging purpose. My requirement
is to add a new appender on the fly to log4j.xml file persistenlty
while the application is running on JBoss Server.

I tried with log4j  DOMConfigurator.configure() method which loads
the log4j.xml file in memory but didn't find any method in
DOMConfigurator API which allows to add new appender on the fly to
log4j.xml file.

Would appreciate the response.

Thanks,
Ashish


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




--
James Stauffer        http://www.geocities.com/stauffer_james/
Are you good? Take the test at http://www.livingwaters.com/good/

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

Reply via email to