title: Redirect echo output in shell script to logfile
body: <p>I have a shell script with lots of <code>echo</code> in it. I would like to redirect the output to a logfile.
  I know there is the command call <code>cmd &gt; logfile.txt</code>, or to do it in the file <code>echo 'xy' &gt; logfile.txt</code>, but is it possible to simply set the filename in the script which then automatically writes all echo's to this file?</p>