Bug 725537

Summary: log rotation and size needs to be configurable.
Product: [Retired] Beaker Reporter: Bill Peck <bpeck>
Component: lab controllerAssignee: Raymond Mancy <rmancy>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 0.6CC: bpeck, dcallagh, ebaak, mcsontos, rmancy, stl
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: 2011-10-06 03:35:34 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Bill Peck 2011-07-25 19:25:59 UTC
Description of problem:
Currently the log rotation is hard coded to 5 1gig logs.  The number and size should be configurable from the config fle.

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

Comment 1 Bill Peck 2011-08-04 16:10:05 UTC
pushed to gerrit for review

Comment 2 Raymond Mancy 2011-08-10 03:44:21 UTC
This is not actually configurable from a conf file.
I tried to add it into the config here a1cf607a464d19e7c9e3087bc35abbc7b94c26be
but the config file that it's using is actually wrong.
Rather than go through and fix up all the places that use this conf, I reverted the original commit as well

I've previously made changes to the configs in 0.7, so when I rebase 0.6 branch I'll fix this up.

Comment 5 Raymond Mancy 2011-10-05 01:25:10 UTC
LOG_MAXBYTES=500
LOG_BACKUPCOUNT=3

---------------------------

-rw-rw-rw-  1 apache apache  373 Oct  4 21:23 proxy.log
-rw-rw-rw-  1 apache apache  602 Oct  4 21:23 proxy.log.1
-rw-rw-rw-  1 apache apache  539 Oct  4 21:23 proxy.log.2
-rw-rw-rw-  1 apache apache  604 Oct  4 21:23 proxy.log.3