fix copied from master 44c4aa035ce484c33b4e66a3be1e9596abec2122 - log4j.properties file was causing empty System.out fle to be created which can break logging