Closed
Bug 493752
Opened 15 years ago
Closed 15 years ago
Reduce buildbot logging
Categories
(Release Engineering :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: catlee, Assigned: catlee)
References
Details
Attachments
(1 file)
541 bytes,
patch
|
bhearsum
:
review+
catlee
:
checked-in+
|
Details | Diff | Splinter Review |
buildbot logs way too much stuff to twistd.log. The log file is rotated every few minutes on production-master.
Attachment #378366 -
Flags: review?(bhearsum)
Assignee | ||
Comment 1•15 years ago
|
||
Comment on attachment 378366 [details] [diff] [review] Disable maybeStartBuild messages Disabling maybeStartBuild messages reduces the size of the logs by around 75%
Assignee | ||
Comment 2•15 years ago
|
||
We could also use daily log files instead of log files capped at a certain size limit: application = service.Application('buildmaster') from twisted.python.log import ILogObserver, FileLogObserver from twisted.python.logfile import DailyLogFile logfile = DailyLogFile("twistd.log", "logs") application.setComponent(ILogObserver, FileLogObserver(logfile).emit) BuildMaster(basedir, configfile).setServiceParent(application)
Comment 3•15 years ago
|
||
(In reply to comment #2) > We could also use daily log files instead of log files capped at a certain size > limit: > > application = service.Application('buildmaster') > > from twisted.python.log import ILogObserver, FileLogObserver > from twisted.python.logfile import DailyLogFile > > logfile = DailyLogFile("twistd.log", "logs") > application.setComponent(ILogObserver, FileLogObserver(logfile).emit) > > BuildMaster(basedir, configfile).setServiceParent(application) I think this is a great idea.
Comment 4•15 years ago
|
||
Comment on attachment 378366 [details] [diff] [review] Disable maybeStartBuild messages this is made of win
Attachment #378366 -
Flags: review?(bhearsum) → review+
Assignee | ||
Comment 5•15 years ago
|
||
Comment on attachment 378366 [details] [diff] [review] Disable maybeStartBuild messages changeset: 40:b1bef83b3c4f
Attachment #378366 -
Flags: checked‑in+
Assignee | ||
Comment 6•15 years ago
|
||
(In reply to comment #3) > (In reply to comment #2) > > We could also use daily log files instead of log files capped at a certain size > > limit: > > > > application = service.Application('buildmaster') > > > > from twisted.python.log import ILogObserver, FileLogObserver > > from twisted.python.logfile import DailyLogFile > > > > logfile = DailyLogFile("twistd.log", "logs") > > application.setComponent(ILogObserver, FileLogObserver(logfile).emit) > > > > BuildMaster(basedir, configfile).setServiceParent(application) > > I think this is a great idea. This doesn't work with twisted 8.0.1
Comment 7•15 years ago
|
||
Fixing this might give perf room to poll l10n repos more often, which is bug 498654.
Blocks: 498654
Comment 8•15 years ago
|
||
I was forced to restart production-master this morning when l10n nightly updates + places project brought it to a standstill, so I pull in this patch on the restart.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Comment 9•15 years ago
|
||
I had to revert back to the previously running changeset (30). There were 12 new changesets of which this patch was only one, and something was seriously tanking the waterfall, pollers went missing, etc.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 10•15 years ago
|
||
This is now running on our production buildbot masters.
Status: REOPENED → RESOLVED
Closed: 15 years ago → 15 years ago
Resolution: --- → FIXED
Comment 11•15 years ago
|
||
Do we have an upstream ticket for this?
Updated•11 years ago
|
Product: mozilla.org → Release Engineering
You need to log in
before you can comment on or make changes to this bug.
Description
•