Ticket #32 (new enhancement)
Ability to show only head & tail of large logfiles
| Reported by: | jknight | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | 0.9.+ |
| Version: | Keywords: | web | |
| Cc: |
Description
It'd be nice if buildbot had the ability to only show the first N lines, and/or last N lines of ginormous logfiles. As the error at the end is generally all you want to see, having to download 3MB of logfile first is sometimes kind of annoying. :)
Change History
comment:2 Changed 6 years ago by jknight
Both those suggestions sound good. Or perhaps make the log link just go to a single head&tail page, with then a link on that page to view the full log. I'm not sure what should happen with a log that's in progress -- I guess it should be like tail -f: show the tail, and then continue feeding the in-progress data.
comment:3 Changed 6 years ago by wadeb
One option would be to automatically divide large log files into pages, with an index at the top and bottom:
<< < 1 2 3 4 5 > >> | Full Log | Tail Log | Lines Per Page [ 50]
comment:4 Changed 6 years ago by warner
- Owner warner deleted
- component changed from statusplugins to statusplugins-web
comment:8 Changed 4 years ago by dustin
- Milestone changed from undecided to 0.7.+
Seems like this could be fixed with an AJAX-y logfile viewer?
comment:12 Changed 2 years ago by dustin
- Milestone changed from 0.8.3 to 0.9.+
This will be more easily done in the JSON frontend
![[Buildbot Logo]](/chrome/site/header-text-transparent.png)
hm, how can we present this on the waterfall page cleanly? Each logfile's link turns into three. Or maybe only offer those links for files above a certain size? Like.. 1MB? Something like:
?