Browse Source

Don't log threepids here either

(and also log that it's the deprecated one)
David Baker 5 years ago
parent
commit
1ed0be54af
1 changed files with 1 additions and 1 deletions
  1. 1 1
      sydent/http/servlets/lookupservlet.py

+ 1 - 1
sydent/http/servlets/lookupservlet.py

@@ -100,7 +100,7 @@ class LookupServlet(Resource):
             request.setResponseCode(400)
             return {'errcode': 'M_INVALID_PARAM', 'error': 'threepids must be a list'}, None
 
-        logger.info("Bulk lookup of %d threepids: %r", len(threepids), threepids)
+        logger.info("Bulk lookup of %d threepids (deprecated endpoint)", len(threepids))
             
         globalAssocStore = GlobalAssociationStore(self.sydent)
         results = globalAssocStore.getMxids(threepids)