mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-18 00:04:23 -05:00
Log when adding listeners
This commit is contained in:
parent
4fcdf7b4b2
commit
33d08e8433
@ -205,6 +205,7 @@ class JsonResource(HttpServer, resource.Resource):
|
|||||||
|
|
||||||
def register_paths(self, method, path_patterns, callback):
|
def register_paths(self, method, path_patterns, callback):
|
||||||
for path_pattern in path_patterns:
|
for path_pattern in path_patterns:
|
||||||
|
logger.debug("Registering for %s %s", method, path_pattern.pattern)
|
||||||
self.path_regexs.setdefault(method, []).append(
|
self.path_regexs.setdefault(method, []).append(
|
||||||
self._PathEntry(path_pattern, callback)
|
self._PathEntry(path_pattern, callback)
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user