title: How to log echo statement with timestamp in shell script
body: <p>I am currently using following to log stdout and stderr. I want to log echo statements along with timestamp. </p>
  
  <pre><code>exec 3&gt;&amp;1 1&gt;&gt;${LOG_FILE} 2&gt;&amp;1
  </code></pre>
  
  <p>How can I achieve it using shell</p>