added working log4j implementation