Logging enhancements.