Originally posted by kritika ram:
3.6 Is there a way to get log4j to automatically reload a configuration file if it changes?
I do not think that there is any way possible of doing so as then there has be some thread looking whether the configuration file has changed or not.Probably that might be the reason that they have introduced something like wait and watch.
But its possible to trigger the loading of configuration again and again.
You can have a mbean in your application and trigger it whenever you change the configuration file.