Bug 1122803
Summary: | [RFE]enforce size limits on console logs | ||
---|---|---|---|
Product: | [Retired] Beaker | Reporter: | Dan Callaghan <dcallagh> |
Component: | general | Assignee: | beaker-dev-list |
Status: | CLOSED WONTFIX | QA Contact: | tools-bugs <tools-bugs> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 0.17 | CC: | cbouchar, mboswell |
Target Milestone: | --- | Keywords: | FutureFeature |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Enhancement | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-11-13 20:08: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: |
Description
Dan Callaghan
2014-07-24 06:39:36 UTC
Dan, This was sorta addressed w/ log rolling at 100MB. I don't see the BZ that set that up but am now questioning if we even need to roll them or can we simple delete all logging beyond a particular size. Eng-ops admins we are called occationally to clear up space on the conservers. I'm not aware of a time when anyone needed to see 1 of the rolled files so I think we can just dump them. I see now the roll is controlled by the conserver.cf config on the conservers but can we still consider enforcing a limit and dumping the rest like this BZ originally requested? Yeah the 100MB rotation done by conserver is really just an emergency measure to save disk space on the conserver -- it doesn't help with the logs which Beaker itself stores (on the LC and then later the archive server). So we do still need this RFE. As for the conserver rotation, yes you absolutely could configure conserver to drop the old files rather than compressing+rotating them, since as you say nothing is ever going to look at the old rotated files. IIRC we have a cron job which looks for files which have been rotated by conserver and deletes them after a few days, which is a pretty good compromise. |