Avoid logging output name being nil