Using log4j, how can I find out what is the name and path oft the current DOMConfigurator file log4j.xml is used, to reset the file name using the PropertyConfigurator.configureAndWatch method, which needs the name and path of this file to see if it has changed.
The API document shows me how to configure log4j to reload the config, but I cannot find a way to see the filename and path it picked up automatically. The application is running standalone withat any application server.
Thanks.