We have several remote applications, that use their own properties file for configuration when they start up. Each application holds a java.util.properties object of all configurable items applicable to the properties file. We use a client application and/or a web browser that asks each app for its properties file so we can change the properties e.g. change logging level from INFO to DEBUG, or turn logging off for a particular hierachy. When then use a utility class that re-writes the app's properties file back to disk with the changes and because each apps has called configure and watch, the log4j system will pick up the new changes. The same utility class is used to create the properties file with default settings when the app starts up. cheers greg
"Oscar Ruiz" <[EMAIL PROTECTED] To: "'Log4J Users List'" <[EMAIL PROTECTED]> s> cc: Subject: Remote control 18/02/2003 09:49 Please respond to "Log4J Users List" Hi all, is there any way of changing logging properties online?, i.e. without restarting the application?, and even more, can this be done remotely? I have a server with multiple java applications, each of them using its own logging properties file, when a problem ocurrs i need to change the properties file in order to enable debuging for the application causing the problems, but obviously restarting changes the whole state of the application, not helping to debug. Thanks a lot. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]