How can we specify were log4j has to look at when trying to find its xml configuration file ?
It seems that by default, log4j looks into the root of a class folder,
You can use:
DOMConfigurator.configure(log4jConfigurationFilename);
and specify the location if it is other than the root!