Fixed bug in specifying path of log4j.properties