Merge lp:~soren/nova/logrotate into lp:~hudson-openstack/nova/trunk
Proposed by
Soren Hansen
Status: | Merged | ||||||||
---|---|---|---|---|---|---|---|---|---|
Approved by: | Vish Ishaya | ||||||||
Approved revision: | no longer in the source branch. | ||||||||
Merged at revision: | 684 | ||||||||
Proposed branch: | lp:~soren/nova/logrotate | ||||||||
Merge into: | lp:~hudson-openstack/nova/trunk | ||||||||
Diff against target: |
20 lines (+2/-2) 1 file modified
nova/log.py (+2/-2) |
||||||||
To merge this branch: | bzr merge lp:~soren/nova/logrotate | ||||||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Vish Ishaya (community) | Approve | ||
Ryan Lucio (community) | Approve | ||
Devin Carlen (community) | Approve | ||
Review via email: mp+49723@code.launchpad.net |
Commit message
Use RotatingFileHandler instead of FileHandler.
Description of the change
Use RotatingFileHandler instead of FileHandler.
This makes it possible to rotate log files without needing a SIGHUP or reload or anything.
To post a comment you must log in.
I understand this change as you saying that the RotatingFileHandler deals with the post-rotation file offset issue. Is that correct?
Are you going to update the packaging branch logrotate files separately?