You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by samurfriend <sa...@gmail.com> on 2007/06/20 19:26:45 UTC

How to get the properties of an appender at Runtime

Friends,

In our applicaiton, we have the log4j_conf.xml and we have different
appenders. Now my work is show these appenders details to the user and allow
him to modify and then need to change the modified contents in the XML.

My Questions are 

1. How can i get all the properties of an appender(i am able to get the
instance , but dont want to use any getProperties() of my appender. Any
Log4j facility available.

2. I am able to succesfully the Level for a particular logger. But the
changed item is reflecting in my application logging, but the file
log4j_conf.xml is not getting modified. Any idea to change the file too?

Waiting for a reply.

Regards
Sam
-- 
View this message in context: http://www.nabble.com/How-to-get-the-properties-of-an-appender-at-Runtime-tf3953865.html#a11218299
Sent from the Log4j - Dev mailing list archive at Nabble.com.