Browse files

Fixed logging to be info instead of debug

  • Loading branch information...
1 parent 8b29b18 commit 51493f6654904a89662a13a5e4b8028eb5f3917c Dave Jackson committed Jul 25, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3 geocamPycroCom/WebSockets.py
View
6 geocamPycroCom/WebSockets.py
@@ -107,7 +107,7 @@ def registerResource(self, rname, resource):
self.resources[rname] = resource
def handleIncoming(self, rname, data):
- logging.debug("ResourceManager: got msg for rname=[%s] msg=[%s]"%(rname, data))
+ logging.info("ResourceManager: got msg for rname=[%s] msg=[%s]"%(rname, data))
if rname in self.resources:
self.resources[rname].receive(data)
else:
@@ -229,11 +229,11 @@ def dohandshake(self, header, key=None):
def onmessage(self, data):
logging.info("Got message: [%s]. Passing to resource manager." % data)
rname = self.associatedResourceName
- logging.debug("About to pass client msg to resource manager")
+ logging.info("About to pass client msg to resource manager with name=[%s]"%rname)
self.resourceManager.handleIncoming(rname, data)
def send(self, data):
- logging.info("Sent message: %s" % data)
+ #logging.info("Sent message: %s" % data)
self.client.send("\x00%s\xff" % data)
def close(self):

0 comments on commit 51493f6

Please sign in to comment.