From f686e9ea00eaa9ae141e283ff2b8b28bacd89f72 Mon Sep 17 00:00:00 2001 From: Tomasz 'Zen' Napierala Date: Wed, 10 Sep 2014 23:25:29 +0200 Subject: [PATCH] Adds "/var/log/messages" to hourly log rotation Because still many services, including MongoDB, are logging to standard log destination we should rotate the logs more agressively. Moreover MongoDB in version 2.4 cannot use LogFacility, so it's easier to fix it in logrotate than in MonngoDB module itself. Change-Id: Ice1bbf4a3bf2d453a41d7660b8742a074ec29216 Closes-Bug: 1367234 --- deployment/puppet/openstack/templates/20-fuel.conf.erb | 1 + 1 file changed, 1 insertion(+) diff --git a/deployment/puppet/openstack/templates/20-fuel.conf.erb b/deployment/puppet/openstack/templates/20-fuel.conf.erb index 4202bc3c55..0245f155ef 100644 --- a/deployment/puppet/openstack/templates/20-fuel.conf.erb +++ b/deployment/puppet/openstack/templates/20-fuel.conf.erb @@ -23,6 +23,7 @@ "/var/log/murano/*.log" "/var/log/heat/*.log" "/var/log/sahara/*.log" +"/var/log/messages" # This file is used for hourly log rotations, use (min)size options here { sharedscripts