debug
This commit is contained in:
parent
30cbcdab92
commit
0ffe2b87cb
@ -28,7 +28,7 @@ class HttpCmdHandler(BaseHTTPServer.BaseHTTPRequestHandler):
|
||||
cls.nullAddress = nullAddress
|
||||
|
||||
def do_GET(self):
|
||||
Logger.log("Request: %s, %s" % (self.path, self.client_address))
|
||||
Logger.debug("Request: %s, %s" % (self.path, self.client_address))
|
||||
try:
|
||||
if self.command == "GET":
|
||||
q = urlparse.urlparse(self.path).query
|
||||
@ -36,7 +36,7 @@ class HttpCmdHandler(BaseHTTPServer.BaseHTTPRequestHandler):
|
||||
if not c.has_key('c'):
|
||||
raise LocalException('no cmd given')
|
||||
cmd = c['c'][0]
|
||||
Logger.log("Cmd: " + cmd)
|
||||
Logger.debug("Cmd: " + cmd)
|
||||
if cmd == 'register':
|
||||
self.register(c)
|
||||
elif cmd == 'start':
|
||||
|
Loading…
x
Reference in New Issue
Block a user