Added logging for post message responses.