It seems that some documentation that is hanging around the net contains incorrect information about correct configuration of the log4j system.
Take care that you specify the properties filename as an URL rather than simple plain path location, e.g
java -Dlog4j.configuration=file:///my/path/to/log4j.properties ...
Log4j should find your configuration then. So make sure you include file:// there… 😉