Comment 0 for bug 1049314

Revision history for this message
Justin Shepherd (jshepher) wrote :

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.04
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION="Ubuntu 12.04 LTS"

Package: glance-registry (2012.1.3+stable~20120821-120fcf-0)

 cat /etc/logrotate.d/glance-registry
/var/log/glance/glance-api.log {
    daily
    missingok
    compress
    delaycompress
    notifempty
}

-----

The logrotate.d conf file points to the wrong log file (glance-api.log instead of glance-registry.log)

-----

The /etc/glance/glance-registry.conf file shipped with this package sets /var/log/glance/registry.log as the log file, where the logrotate.d conf file points to a different file than the default configuration setting:

http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/precise/glance/precise-updates/view/head:/etc/glance-registry.conf#L16