summaryrefslogtreecommitdiff
path: root/jfr_playoff/data/info.py
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2019-12-30 21:07:42 +0100
committeremkael <emkael@tlen.pl>2019-12-30 21:07:42 +0100
commitdcc21a1b8e1f9826e53729294439807ee6cc6ab1 (patch)
tree64667abe8f6f5de4efb2c28baa652a4d5389d568 /jfr_playoff/data/info.py
parent1f5037ee76a65091ac6bbddafb1568772b5e8a64 (diff)
More verbose result info client method logging
Diffstat (limited to 'jfr_playoff/data/info.py')
-rw-r--r--jfr_playoff/data/info.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/jfr_playoff/data/info.py b/jfr_playoff/data/info.py
index e152b6c..9004322 100644
--- a/jfr_playoff/data/info.py
+++ b/jfr_playoff/data/info.py
@@ -58,14 +58,16 @@ class ResultInfo(object):
try:
ret = getattr(client, method)(*args)
PlayoffLogger.get('resultinfo').info(
- '%s method returned %s', method, ret)
+ '%s.%s method returned %s',
+ client.__class__.__name__, method, ret)
return ret
except Exception as e:
if type(e) \
in client.get_exceptions(method) + (NotImplementedError,):
PlayoffLogger.get('resultinfo').warning(
- '%s method raised %s(%s)',
- method, type(e).__name__, str(e))
+ '%s.%s method raised %s(%s)',
+ client.__class__.__name__, method,
+ type(e).__name__, str(e))
else:
raise
PlayoffLogger.get('resultinfo').info(