Bug 725537 - log rotation and size needs to be configurable.
Summary: log rotation and size needs to be configurable.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Beaker
Classification: Retired
Component: lab controller
Version: 0.6
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified vote
Target Milestone: ---
Assignee: Raymond Mancy
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-07-25 19:25 UTC by Bill Peck
Modified: 2019-05-22 13:41 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-10-06 03:35:34 UTC


Attachments (Terms of Use)

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


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