From fe41a61c97e558abec388bab81c041ae562fce37 Mon Sep 17 00:00:00 2001 From: emkael Date: Fri, 28 Sep 2018 15:52:02 +0200 Subject: Debug information on remote URL fetch --- jfr_playoff/remote.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'jfr_playoff') diff --git a/jfr_playoff/remote.py b/jfr_playoff/remote.py index 2deb7ce..f0bf6c2 100644 --- a/jfr_playoff/remote.py +++ b/jfr_playoff/remote.py @@ -21,4 +21,7 @@ class RemoteUrl: if encoding_match: request.encoding = encoding_match.group(2) cls.url_cache[url] = request.text + PlayoffLogger.get('remote').info( + 'fetched %d bytes from remote location', + len(cls.url_cache[url])) return bs(cls.url_cache[url], 'lxml') -- cgit v1.2.3