added logger, config. log on send and recieve