
</div>
</div>
<div class="section" id="write-to-rotating-files">
<h3>Write to Rotating Files<a class="headerlink" href="#write-to-rotating-files" title="Permalink to this headline">¶</a></h3>
<p>If you don’t have a better plan then write your logs to a rotating file..</p>
<div class="highlight-Python notranslate"><div class="highlight"><pre><span></span><span class="c1"># Setup a file handler to write all information</span>
<span class="c1"># Are we running from within PyCharm or starting from command l