Refactored log messages