Paul Clapham wrote:The documentation says:
The preferred way to specify the default initialization file is through the log4j.configuration system property.
It goes on to say that once you have specified "log4j.configuration=log4j.xml", you should put log4j.xml somewhere in the classpath, just as you formerly did with log4j.properties.
Hey Paul I understand this and I'm fine with that, my issue is I have to restart the server if I make changes to my log4j.xml. The only way I have found to work around it at the moment is to put this configuration in my code. I was wondering would something like log4jConfigListener, work and how would I implement this ? I'm currently not running log4j2 would this make a difference?