Get rid of extra logging
authorChris AtLee <catlee@mozilla.com>
Thu, 26 Aug 2010 09:57:30 -0400
changeset 85 e699642c64c9ce456aaeb9bf9295172190c8ae01
parent 84 645ee7956247fed0cfd8d5494f3d8473c636d694
child 87 a295f736de759dd9fd26de896fb1933590d38e62
push id33
push usercatlee@mozilla.com
push dateThu, 26 Aug 2010 13:57:37 +0000
Get rid of extra logging
master/buildbot/process/builder.py
--- a/master/buildbot/process/builder.py
+++ b/master/buildbot/process/builder.py
@@ -89,18 +89,18 @@ class AbstractSlaveBuilder(pb.Referencea
         self.state = ATTACHING
         self.remote = remote
         self.remoteCommands = commands # maps command name to version
         if self.slave is None:
             self.slave = slave
             self.slave.addSlaveBuilder(self)
         else:
             assert self.slave == slave
-        log.msg("Buildslave %s attached to %s" % (slave.slavename,
-                                                  self.builder_name))
+        #log.msg("Buildslave %s attached to %s" % (slave.slavename,
+                                                  #self.builder_name))
         d = self.remote.callRemote("setMaster", self)
         d.addErrback(self._attachFailure, "Builder.setMaster")
         d.addCallback(self._attached2)
         return d
 
     def _attached2(self, res):
         d = self.remote.callRemote("print", "attached")
         d.addErrback(self._attachFailure, "Builder.print 'attached'")
@@ -158,18 +158,18 @@ class AbstractSlaveBuilder(pb.Referencea
     def _pong_status(self, res, event):
         if res:
             event.text = ["ping", "success"]
         else:
             event.text = ["ping", "failed"]
         event.finish()
 
     def detached(self):
-        log.msg("Buildslave %s detached from %s" % (self.slave.slavename,
-                                                    self.builder_name))
+        #log.msg("Buildslave %s detached from %s" % (self.slave.slavename,
+                                                    #self.builder_name))
         if self.slave:
             self.slave.removeSlaveBuilder(self)
         self.slave = None
         self.remote = None
         self.remoteCommands = None
 
 
 class Ping: