title: Python : clear a log file
body: <p>I develop a client-server application and I have log in the server, so I use the <code>logging</code> module. I would like to create a command in the server to clear the file.</p>
  <p>I have test with <code>os.remove()</code> but after, the log doesn't work.</p>
  <p>Do you have an idea?</p>
  <p>Thanks.</p>