added message log for retrieved messages