updated handling of properties and log4j