[Bug 1522772] Re: logrotate config file matches the wrong files
Palanivel Duraisamy
palanivel.duraisamy1 at wipro.com
Fri Jan 8 09:00:15 UTC 2016
The config file /etc/logrotate.d/glance-common has the following entry.
Looks there should not be any log rotation issue as file name is "*.log"
/var/log/glance/*.log {
daily
missingok
compress
delaycompress
copytruncate
notifempty
}
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to glance in Ubuntu.
https://bugs.launchpad.net/bugs/1522772
Title:
logrotate config file matches the wrong files
Status in glance package in Ubuntu:
New
Bug description:
Since Kilo the glance-api and glance-registry logfiles have ben
renamed from api.log to glance-api.log and from registry.log to
glance-registry.log:
# ls -lah /var/log/glance/*
-rw-r--r-- 1 glance adm 23G Dec 4 11:14 /var/log/glance/glance-api.log
-rw-r--r-- 1 glance adm 4.2M Dec 4 10:53 /var/log/glance/glance-registry.log
But the logrotate config files are still rotating the old logfiles
api.log and registry.log
The attached patches correct those issues.
We're running Ubuntu 14.04 LTS 64 and are using ubuntu-cloud archives
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glance/+bug/1522772/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list