Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 917315

Summary: old logs do not get rotated
Product: [Community] Spacewalk Reporter: Mohammed Arafa <bugzilla>
Component: ServerAssignee: Jan Pazdziora (Red Hat) <jpazdziora>
Status: CLOSED NOTABUG QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.8CC: jpazdziora
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-03-04 07:49:09 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1484117    

Description Mohammed Arafa 2013-03-03 02:54:38 UTC
Description of problem:
logs in /var/log/rhn/* /var/log/httpd/* /var/log/tomcat*/* do not get rotated.

i just discovered that i have logs from when i setup my installation 9 months ago. and they keep increasing.

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


How reproducible:
everytime

Steps to Reproduce:
1. install spacewalk
2.
3.
  
Actual results:
logs get created

Expected results:
logs get rotated

Additional info:

Comment 1 Jan Pazdziora (Red Hat) 2013-03-04 07:49:09 UTC
Please note that Spacewalk does not ship httpd nor tomcat* so if their logs are not rotated, there's something wrong with the logrotate or whatever log-rotation service you are using on your system. We configure logrotate to rotate stuff in /var/log/rhn but if logrotate is not enabled, there's not much Spacewalk can do.

Closing as NOTABUG in Spacewalk.

Comment 2 Mohammed Arafa 2013-03-24 04:18:30 UTC
what about /var/log/rhn/reposync ? my uncompressed logs have now reached 7.6mb

Comment 3 Eric Herget 2017-09-28 17:56:27 UTC
This BZ closed some time during 2.5, 2.6 or 2.7.  Adding to 2.7 tracking bug.