Bug 11261

Summary: Implement log rotation for Wikilog
Product: [Infrastructure] AutoBuilder Reporter: Joshua Lock <joshuagloe>
Component: autobuilderAssignee: Unassigned <unassigned>
Status: RESOLVED OBSOLETE QA Contact:
Severity: enhancement    
Priority: Medium CC: infras.ab.watcher, Infras.watcher, pidge, randy.macleod, richard.purdie
Version: 3.1   
Target Milestone: Future   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Joshua Lock 2017-03-28 16:39:47 UTC
We use the wikilog plugin to write autobuilder failures to a page on the Yocto Project wiki, grouped by the triggering build:

https://wiki.yoctoproject.org/wiki/BuildLog

This page is growing very large, which makes it slower to load and intimidating to view for those who want to help manage it.

We should implement log rotation of the wiki page in wikilog so that it only shows either n recent entries, or entries from the past y days.
Comment 1 Joshua Lock 2017-10-09 09:09:45 UTC
I just had to manually rotate the page as edits were failing with the following error:

Error: The text you have submitted is 2,052 kilobytes long, which is longer than the maximum of 2,048 kilobytes. It cannot be saved.
Comment 2 Randy MacLeod 2022-05-05 15:08:11 UTC
Swatbot obsoleted Wikilog so closing.