Is it possible to have log4j.xml loaded from a different dir than source root and how? (programmatically?) Meaning that it\'s somewhere in FS not just in classpath.
This might not be the best way, but you can specify the location of the file by setting the java property log4j.configuration=path/to/config/file. For example, you can specify this directly to the java command with java -Dlog4j.configuration=path.