[Buildbot] #2839: Buildbot does not consistenly do logging

Buildbot trac trac at buildbot.net
Sun Jul 20 13:14:13 UTC 2014


#2839: Buildbot does not consistenly do logging
----------------------+------------------------
Reporter:  sa2ajj     |       Owner:
    Type:  undecided  |      Status:  new
Priority:  major      |   Milestone:  undecided
 Version:  master     |  Resolution:
Keywords:  logging    |
----------------------+------------------------

Comment (by dustin):

 `print` in a twistd environment ends up in the logfile.

 However, in production code we should always be logging, not printing.
 Based on a quick grep, I see that we *almost* always adhere to this
 standard.  Legitimate exceptions are:
  * scripts and clients like 'create-master' or 'debug' that actually want
 to produce stdout
  * contrib (it can do whatever it wants)

 Cleaning up any other occurrences would be a good fix.

--
Ticket URL: <http://trac.buildbot.net/ticket/2839#comment:1>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation


More information about the bugs mailing list