[Bug 1522772] Re: logrotate config file matches the wrong files
Bhargavi
challa.bhargavi1 at gmail.com
Thu Mar 10 10:42:38 UTC 2016
I am using Kilo on Ubuntu 14.04.
glance-api and glance-registry log files are getting rotated on a daily
basis and also old files are getting compressed.
below configuration I found in "/etc/logrotate.d/glance-common" file :
/var/log/glance/*.log {
daily
missingok
compress
delaycompress
copytruncate
notifempty
}
looks like it's working as expected
please verify your config files (/etc/logrotate.d/glance-common ) and
(/etc/cron.daily/logrotate )
--
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