added logging to message sender v1