title: logrotation for wordpress logs
body: <p>I am trying to enable log rotation for WordPress log files. I need to enable log rotation and after 30 days it needs to be compressed and archived after 60 it needs to be deleted.</p>
  <p>I created a file app.conf in /etc/logrotate.d folder with the below content:</p>
  <pre><code>/var/www/firebolt-app/wp-content/*.log {
  weekly
  rotate 4
  maxage 90
  }
  </code></pre>
  <p>Then I ran <code>logrorate -d app.conf</code>and it doesn't appear in logrotate status as well as no change in the debug file.</p>
  <p>Is there anything like - rotation only will happen in files inside /var/log?</p>