simplified initialisation of log4j