Enhance the logging pattern.