Log when adding listeners

This commit is contained in:
Richard van der Hoff 2016-07-21 15:56:57 +01:00
parent 4fcdf7b4b2
commit 33d08e8433

View File

@ -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)
)