fix log config