Diagnose log test. If no log is included in the command it will fail.