Adding path to the log4j configuration in the start and stop functions