[fuel-library] Non-flexible log rotation procedure

Bug #1436465 reported by slava valyavskiy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
In Progress
Medium
slava valyavskiy

Bug Description

Now, our log rotation approach is based on https://github.com/stackforge/fuel-library/blob/master/deployment/puppet/openstack/templates/20-fuel.conf.erb template file. Here we have 'size' option.

size size
              Log files are rotated only if they grow bigger then size bytes.

It means that our log files will be rotated only if its size bigger then 'size' value.

I propose to add 'daily' rotation option (to have logs rotated every day) and replace 'size' option with 'maxsize' and 'minsize' options.

minsize size
              Log files are rotated when they grow bigger than size bytes,
              but not before the additionally specified time interval (daily,
              weekly, monthly, or yearly).

maxsize size
              Log files are rotated when they grow bigger than size bytes even before
              the additionally specified time interval (daily, weekly, monthly,
              or yearly).

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (master)

Fix proposed to branch: master
Review: https://review.openstack.org/167720

Changed in fuel:
assignee: nobody → slava valyavskiy (slava-val-al)
status: New → In Progress
Changed in fuel:
milestone: none → 6.1
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on fuel-library (master)

Change abandoned by Valyavskiy Viacheslav (<email address hidden>) on branch: master
Review: https://review.openstack.org/167720

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.