summary refs log tree commit diff
path: root/synapse/handlers/appservice.py
diff options
context:
space:
mode:
authorKegan Dougal <kegan@matrix.org>2015-01-27 17:34:40 +0000
committerKegan Dougal <kegan@matrix.org>2015-01-27 17:34:40 +0000
commitfbeaeb868960099c3682802275d5a222c0cc2d8b (patch)
tree7428d538bdc60f7cb8842ac13e213edcd7e634f4 /synapse/handlers/appservice.py
parentUse ApplicationService when registering. (diff)
downloadsynapse-fbeaeb868960099c3682802275d5a222c0cc2d8b.tar.xz
Log when ASes are registered/unregistered.
Diffstat (limited to 'synapse/handlers/appservice.py')
-rw-r--r--synapse/handlers/appservice.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/handlers/appservice.py b/synapse/handlers/appservice.py
index 1890ca06aa..c9f56c41eb 100644
--- a/synapse/handlers/appservice.py
+++ b/synapse/handlers/appservice.py
@@ -31,6 +31,7 @@ class ApplicationServicesHandler(BaseHandler):
 
     @defer.inlineCallbacks
     def register(self, app_service):
+        logger.info("Register -> %s", app_service)
         # check the token is recognised
         try:
             stored_service = yield self.store.get_app_service(app_service.token)
@@ -44,6 +45,7 @@ class ApplicationServicesHandler(BaseHandler):
         # TODO store this AS
 
     def unregister(self, token):
+        logger.info("Unregister as_token=%s", token)
         yield self.store.unregister_app_service(token)
 
     def notify_interested_services(self, event):