Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

LOG4J configuration without using configureAndWatch

Status
Not open for further replies.

jbelch

Programmer
Feb 17, 2003
1
US
I am trying to figure out if there is a way to reload the properties file anytime it changes without restarting the system. One of our requirements is that the properties file can be changed and the logging will automatically change without restarting the system. I know you can use the PropertyConfigurator's configureAndWatch method, but I don't see how you could put this method in each class that instantiates a logger. It seems like way too much overhead. If anyone knows of a way to do this, I would appreciate it
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top