summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2013-04-11 19:48:52 +0900
committerKali Kaneko <kali@leap.se>2013-04-11 19:50:12 +0900
commit1693669bacac1febcc81ad782028e216804d6f35 (patch)
treeae448ca8348fff271ec3d50fdc77fe88db223005
parentb16426c7d7e77dac89cf86730df4e3ccea96fac4 (diff)
add debug info about server port
-rw-r--r--src/leap/common/events/component.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/leap/common/events/component.py b/src/leap/common/events/component.py
index bec1898..0cf0e38 100644
--- a/src/leap/common/events/component.py
+++ b/src/leap/common/events/component.py
@@ -134,7 +134,9 @@ def register(signal, callback, uid=None, replace=False, reqcbk=None,
request.mac = ""
service = RpcService(proto.EventsServerService_Stub,
server.SERVER_PORT, 'localhost')
- logger.info("Sending registration request to server: %s", str(request))
+ logger.info("Sending registration request to server on port %s: %s",
+ server.SERVER_PORT,
+ str(request))
return service.register(request, callback=reqcbk, timeout=timeout)