Final fix for communication. Fixed loggin format