added intercommunication with log4j