Try to fix the logging error.