diff --git a/bin/subcomposer b/bin/subcomposer --- a/bin/subcomposer +++ b/bin/subcomposer @@ -94,7 +94,6 @@ class EditChoice(tk.Frame): 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 @@ class Subcomposer(tk.Frame): 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 @@ class EntryCommand(tk.Frame): 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 --git a/light9/dmxclient.py b/light9/dmxclient.py --- a/light9/dmxclient.py +++ b/light9/dmxclient.py @@ -42,7 +42,8 @@ def outputlevels(levellist,twisted=0,cli 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)