Added a better log message based on the PR review