diff options
author | Kegan Dougal <kegan@matrix.org> | 2015-01-27 17:34:40 +0000 |
---|---|---|
committer | Kegan Dougal <kegan@matrix.org> | 2015-01-27 17:34:40 +0000 |
commit | fbeaeb868960099c3682802275d5a222c0cc2d8b (patch) | |
tree | 7428d538bdc60f7cb8842ac13e213edcd7e634f4 /synapse/handlers/appservice.py | |
parent | Use ApplicationService when registering. (diff) | |
download | synapse-fbeaeb868960099c3682802275d5a222c0cc2d8b.tar.xz |
Log when ASes are registered/unregistered.
Diffstat (limited to 'synapse/handlers/appservice.py')
-rw-r--r-- | synapse/handlers/appservice.py | 2 |
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): |