Looking for a way to redirect std error and std output to a log file in Tcsh shell.

Tried ./ShellFile.sh 2>&1 | pathToLogFile.log and got the error "Ambiguous output redirect"

Would appreciate any inputs.

Edit
Report