# HG changeset patch # User Drew Perttula # Date 1370389933 0 # Node ID ae359590eb8aa6d483862e8325485b6cabff1c2f # Parent bdfdfea8451087059631e7263b44c14eea889250 logging Ignore-this: 38894578f8bf4cf53b29f684ea9b8fe4 diff -r bdfdfea84510 -r ae359590eb8a bin/subcomposer --- a/bin/subcomposer Tue Jun 04 23:51:57 2013 +0000 +++ b/bin/subcomposer Tue Jun 04 23:52:13 2013 +0000 @@ -94,7 +94,6 @@ def uriChanged(self, newUri): - print "chg", newUri # i guess i show the label and icon for this if newUri is Local: self.subIcon.config(text="(local)") @@ -154,7 +153,7 @@ currentUri = Observable(Local) def pc(val): - print "change viewed sub to", val + log.info("change viewed sub to %s", val) currentUri.subscribe(pc) EditChoice(self, self.graph, currentUri).frame.pack(side='top') @@ -221,7 +220,7 @@ def action(self, *args): subname = self.entry.get() self.cmd(subname) - print "sub", self.cmd, subname + log.info("command %s %s", self.cmd, subname) def set(self, text): self.entry.delete(0, 'end') diff -r bdfdfea84510 -r ae359590eb8a light9/dmxclient.py --- a/light9/dmxclient.py Tue Jun 04 23:51:57 2013 +0000 +++ b/light9/dmxclient.py Tue Jun 04 23:52:13 2013 +0000 @@ -42,7 +42,8 @@ time.sleep(1) else: def err(error): - log.error("dmx server error %s", error) + log.error("dmx server error talking to %s: %s", + networking.dmxServer.url, error.getErrorMessage()) time.sleep(1) d = _dmx.callRemote('outputlevels', clientid, levellist) d.addErrback(err)