logrotate: log does not need rotating
<p>logrotate is not rotating my logs</p>

<p>To verify that the logfile is not empty:</p>

<pre><code># ls -laFh /var/log/cisco-meraki.log
-rw-r----- 1 root adm 2.8G Sep  5 13:23 /var/log/cisco-meraki.log
</code></pre>

<p>Configuration (/etc/logrotate.d/zzzzz_default):</p>

<pre><code>"/var/log/cisco-meraki.log" {
    daily
    rotate 10
    compress
    missingok
    notifempty
    create
}
</code></pre>

<p>Global config (logrotate.conf):</p>

<pre><code>daily
rotate 10
create
include /etc/logrotate.d
/var/log/wtmp {
    missingok
    monthly
    create 0664 root utmp
    rotate 1
}
/var/log/btmp {
    missingok
    monthly
    create 0660 root utmp
    rotate 1
}
</code></pre>

<p>Trying a manual run:</p>

<pre><code># logrotate --verbose -d zzzzz_default
reading config file zzzzz_default

Handling 1 logs

rotating pattern: "/var/log/cisco-meraki.log"  after 1 days (10 rotations)
empty log files are not rotated, old logs are removed
considering log /var/log/cisco-meraki.log
  log does not need rotating
</code></pre>

<p>To verify that the problem is not "allready rotated" I checked:</p>

<pre><code># cat /var/lib/logrotate/status|grep cisco
"/var/log/cisco-ace.log" 2016-1-19-16:0:0
"/var/log/cisco-pix.log" 2016-1-19-16:0:0
"/var/log/cisco-acs.log" 2016-1-19-16:0:0
"/var/log/cisco-asa.log" 2016-1-19-16:0:0
"/var/log/cisco-router.log" 2016-9-6-0:1:1
"/var/log/cisco-ips.log" 2016-1-19-16:0:0
</code></pre>

<p>..but no cisco-meraki.log</p>