History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: QB-4176
Type: Improvement Improvement
Status: Open Open
Priority: Major Major
Assignee: Robin Shen
Reporter: Robin Shen
Votes: 1
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
QuickBuild

Log cleanup strategy

Created: 18/Apr/25 11:25 PM   Updated: Sunday 09:50 AM
Component/s: None
Affects Version/s: 15.0.8
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
File Attachments: None
Image Attachments:

1. log-cleanup.png
(347 kb)


 Description  « Hide
We would like to have history of all builds. The problem is that when we enable it, logs from these builds almost immediately fill out our storage (up to 400 GB of logs per day).

The question is: is it possible to have history of builds enabled for a longest possible period. And on the other hand have logs on the TRACE level only for the latest 10 or so builds. We just need very detailed logs for the recent builds and we don't need them for old. But we need history of (almost) all builds.

 All   Comments   Work Log   Change History      Sort Order:
Robin Shen [04/May/25 09:50 AM]
Turns out that this is already possible with the artifact clean up setting in advanced setting of the configuration. Please tick clean up build log option as shown in the attached screenshot. By default it also cleans up published artifacts, you may specify an non-existant pattern if you do not want to delete any artifacts.

Alexander Ananyev [02/May/25 09:28 AM]
Yes, totally acceptable.
Thanks

Robin Shen [02/May/25 06:49 AM]
Removing log entries of TRACE level while preserving other entries only requires to parse and modify the log which can be very slow if log is huge and there are many builds. We plan to delete logs completely for builds older than a specific time, is this acceptable?