Rotated daily but has keyword weekly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
logrotate (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I have this logroate config in /etc/logrotate.d which has the 'weekly' keyword but I still get it every day. It's triggered via a daily cron but still, I expect logrotate to be smart here:
/var/log/
/var/log/
sharedscripts
create 0644 www-data adm
weekly
rotate 12
mail <email address hidden>
notifempty
mailfirst
prerotate
if [ -d /etc/logrotate.
fi \
endscript
postrotate
[ -s /run/nginx.pid ] && kill -USR1 `cat /run/nginx.pid`
endscript
}
Version info:
$ logrotate -v
logrotate 3.8.7 - Copyright (C) 1995-2001 Red Hat, Inc.
This may be freely redistributed under the terms of the GNU Public License
Let me know if it's a bug or if my above config is wrong.
Thanks!