Bug 672502 - logrotate: please add log rotation to /var/log/vdsm/spm-lock.log
Summary: logrotate: please add log rotation to /var/log/vdsm/spm-lock.log
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: vdsm
Version: 6.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Federico Simoncelli
QA Contact: yeylon@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-01-25 11:10 UTC by Dafna Ron
Modified: 2016-04-18 06:37 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-01-26 15:17:44 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Dafna Ron 2011-01-25 11:10:15 UTC
Description of problem:

log /var/log/vdsm/spm-lock.log


Version-Release number of selected component (if applicable):


How reproducible:

100% 

Steps to Reproduce:
1.
2.  
3. 
  
Actual results:

spm-lock.log has no rotation 

Expected results:

spm-lock.log should be rotated. 

Additional info:example log attached

Comment 1 Dafna Ron 2011-01-25 11:13:50 UTC
Bug 672503 was opened on rhel5 as well

Comment 3 RHEL Program Management 2011-01-25 11:28:19 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unfortunately unable to
address this request at this time. Red Hat invites you to
ask your support representative to propose this request, if
appropriate and relevant, in the next release of Red Hat
Enterprise Linux. If you would like it considered as an
exception in the current release, please ask your support
representative.

Comment 4 Federico Simoncelli 2011-01-26 10:02:06 UTC
(In reply to comment #0)
> Expected results:
> spm-lock.log should be rotated. 

Do you have more details about what is the expected result?
Right now it gets correctly rotated when it reaches 15Mb.

Comment 5 Dan Kenigsberg 2011-01-26 15:17:44 UTC
(In reply to comment #4)
> (In reply to comment #0)
> > Expected results:
> > spm-lock.log should be rotated. 
> 
> Do you have more details about what is the expected result?
> Right now it gets correctly rotated when it reaches 15Mb.

grr.. I had these bugs open out of carelessness/stupidity. spm-lock.log are already rotated by virtue of

var/log/vdsm/*.log {
    rotate 100 
    missingok
    copytruncate
    size 15M
    compress
}

which is good enough.


Note You need to log in before you can comment on or make changes to this bug.