Fix log output.