title: How to stop writing to log file in BASH?
body: <p>I'm using this code to write all terminal's output to the file</p>
  
  <pre><code>exec &gt; &gt;(tee -a "${LOG_FILE}" )
  exec 2&gt; &gt;(tee -a "${LOG_FILE}" &gt;&amp;2)
  </code></pre>
  
  <p>How to tell it to stop? If, for example, I don't want some output to get into log..</p>
  
  <p>Thank you!</p>