Fix the logging failure