> You can append "2>&1 >> /var/log/nightly-git.log" to get the output
> logged to a file.

Those redirections are the wrong way round. Only standard output is
redirected to the file.

To redirect both standard output and standard error you need to append
">> /var/log/nightly-git.log 2>&1"

-- 
Cheers,
Clive


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20111109090420.ga3...@rimmer.esmertec.com

Reply via email to