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,
Suppose your log4j configuration is outside the source tree. If it can't find your configuration file, help it with:
-Dlog4j.configuration=file:///your/path/log4j.xml
Note the qualifier file:///. It won't work without.