s="n">TEMP_PATH</span><span class="p">,</span> <span class="s1">&#39;wukong.log&#39;</span><span class="p">)</span>
    <span class="k">if</span> <span class="n">os</span><span class="o">.</span><span class="n">path</span><span class="o">.</span><span class="n">exists</span><span class="p">(</span><span class="n">log_path</span><span class="p">):</span>
        <span class="k">return</span> <span class="n">tail</span><span class="p">(</span><span class="n">log_path</span><span class="p">,</span> <span class