From 60cb876a25c916ac37b6f08b20bfbbda2a2d68c1 Mon Sep 17 00:00:00 2001 From: schneefux Date: Wed, 8 Mar 2017 20:09:08 +0100 Subject: log: inserts with playername --- api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api.py b/api.py index f436b57..692c931 100644 --- a/api.py +++ b/api.py @@ -56,8 +56,8 @@ class Apigrabber(joblib.worker.Worker): async with con.transaction(): matchids = await con.fetch( self._insertquery, json.dumps(data)) - logging.debug("%s: inserted %s matches from API into database", - jobid, len(matchids)) + logging.info("%s: inserted %s matches for player '%s' from API into database", + jobid, len(matchids), playername) payloads = [{ "id": mat["id"], "playername": playername -- cgit v1.3.1