Disable logging when no output.