I have below command to output shell script to a file RestartLog.log, then to grep only "error" to another file RestartLog_ERROR.log.