Improved the logging comments.