mirror of
https://github.com/element-hq/synapse
synced 2024-08-19 02:10:55 +00:00
Log when adding listeners
This commit is contained in:
parent
4fcdf7b4b2
commit
33d08e8433
1 changed files with 1 additions and 0 deletions
|
@ -205,6 +205,7 @@ class JsonResource(HttpServer, resource.Resource):
|
|||
|
||||
def register_paths(self, method, path_patterns, callback):
|
||||
for path_pattern in path_patterns:
|
||||
logger.debug("Registering for %s %s", method, path_pattern.pattern)
|
||||
self.path_regexs.setdefault(method, []).append(
|
||||
self._PathEntry(path_pattern, callback)
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue