Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 361065

Summary: should clean up old "requests logs"
Product: [WebTools] WTP Releng Reporter: David Williams <david_williams>
Component: relengAssignee: webtools.releng <webtools.releng-inbox>
Status: NEW --- QA Contact: Carl Anderson <ccc>
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

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.