Fix the log config