n><span class="o">.</span><span class="n">getLogger</span><span class="p">(</span><span class="s2">&quot;__main__&quot;</span><span class="p">)</span>
</pre></div>
</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><s