Added a log for message delivery