Fix a logger error.