title: Clear apache log or change log while apache is running
body: <p>I want to clear my Apache log without stopping apache or anything like that, but I have a problem while apache's running I can not edit the active log file.</p>
  
  <p>I attempted some solutions but all is not good, or it just does not work - for example:</p>
  
  <pre><code>cat /dev/null &gt; /path/to/log.log
  </code></pre>
  
  <p>It works but it kills the CPU. </p>
  
  <p>Now I want to know has anybody got a good solution for clearing log files or creating a new log file with a new name every N hours which doesn't kill the CPU,RAM,etc ...</p>
  
  <p>What can I do? Please give me a solution :((</p>
  
  <p>Kind regards.</p>