[Openstack-devel] Bug#706015: glance: logs not rotated
Julien Cristau
julien.cristau at logilab.fr
Tue Apr 23 14:33:50 UTC 2013
Source: glance
Version: 2012.1.1-5
Severity: important
Tags: patch
The glance logrotate config is inconsistent with where the logs actually
are. See below.
Cheers,
Julien
From: Julien Cristau <julien.cristau at logilab.fr>
Date: Tue, 23 Apr 2013 16:30:44 +0200
Subject: [PATCH 1/2] Fix logrotate config to reference the right file names.
---
debian/changelog | 6 ++++++
debian/glance-api.logrotate | 2 +-
debian/glance-registry.logrotate | 2 +-
3 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 42f26bc..3657ec8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+glance (2012.1.1-6) UNRELEASED; urgency=low
+
+ * Fix logrotate config to reference the right file names.
+
+ -- Julien Cristau <jcristau at debian.org> Tue, 23 Apr 2013 16:30:25 +0200
+
glance (2012.1.1-5) unstable; urgency=high
* CVE-2013-1840: fixes "Backend credentials leak in Glance v1 API"
diff --git a/debian/glance-api.logrotate b/debian/glance-api.logrotate
index fa9b088..ba5d1b3 100644
--- a/debian/glance-api.logrotate
+++ b/debian/glance-api.logrotate
@@ -1,4 +1,4 @@
-/var/log/glance/glance-api.log {
+/var/log/glance/api.log {
daily
missingok
compress
diff --git a/debian/glance-registry.logrotate b/debian/glance-registry.logrotate
index 830fa79..dd43db4 100644
--- a/debian/glance-registry.logrotate
+++ b/debian/glance-registry.logrotate
@@ -1,4 +1,4 @@
-/var/log/glance/glance-registry.log {
+/var/log/glance/registry.log {
daily
missingok
compress
--
1.7.2.5
--
Julien Cristau <julien.cristau at logilab.fr>
Logilab http://www.logilab.fr/
Informatique scientifique & gestion de connaissances
More information about the Openstack-devel
mailing list