title: Springboot how to rotate log files on the server restart
body: <p>Springboot how to rotate log files on the server restart.</p>
  
  <p>I have the below entries</p>
  
  <pre><code># LOGGING
  logging.level.org.springframework.web=WARN
  logging.level.org.hibernate=WARN
  logging.file=/var/log/apps/myapp.log
  </code></pre>
  
  <p>I can't find any details here:</p>
  
  <p><a href="https://docs.spring.io/spring-boot/docs/1.5.9.RELEASE/reference/html/common-application-properties.html" rel="nofollow noreferrer">https://docs.spring.io/spring-boot/docs/1.5.9.RELEASE/reference/html/common-application-properties.html</a></p>