Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 361065 - should clean up old "requests logs"
Summary: should clean up old "requests logs"
Status: NEW
Alias: None
Product: WTP Releng
Classification: WebTools
Component: releng (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: webtools.releng CLA
QA Contact: Carl Anderson CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-15 15:01 EDT by David Williams CLA
Modified: 2011-10-15 15:01 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Williams CLA 2011-10-15 15:01:28 EDT
The Cruisecontrol server we run (actually, an embedded jetty server) keeps "requests logs", but there is no mechanism to clean them up. They are stored in

/shared/webtools/apps/cruisecontrol-bin-2.8.4/logs

or, according to variables in commonVariations.shsource, that'd be 

${CCDIR}/logs

at the time of this writing, there's about 93 of them, taking 722M, going back to July 16. 

As far as I recall, I'd just occasionally (every 6 months or so) go in and delete nearly all of them. 

It'd be better to delete those older than 30 days, or similar, in our "cleanupArtifacts" script ... it'd be a simple call, like the one for the  'tmp' directory.