title: How to clear Tomcat logs when undeploying the application
body: <p>I need to clear all my logs when I undeploy an application in Tomcat.
  I don't want to clear the logs every time manually.</p>
  
  <p>How can I achieve this?</p>