<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On 19 December 2015 at 19:41, Costin Constantin <span dir="ltr">&lt;<a href="mailto:costin.c.constantin@intel.com" target="_blank">costin.c.constantin@intel.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":2m6" class="a3s" style="overflow:hidden">+    log_file = &quot;oe-selftest-&quot; + t.strftime(&quot;%Y-%m-%d_%H:%M:%S&quot;) + &quot;.log&quot;<br>
+    if os.path.exists(&quot;oe-selftest.log&quot;): os.remove(&quot;oe-selftest.log&quot;)<br>
+    os.symlink(log_file, &quot;oe-selftest.log&quot;)<br></div></blockquote></div><br>Wouldn&#39;t it be sensible to also then write directly to the timestamped file instead of the symlink, just in case? (in the FileHandler call just below).</div><div class="gmail_extra"><br></div><div class="gmail_extra">Ross</div></div>