diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2017-03-08 20:09:08 +0100 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2017-03-08 20:09:08 +0100 |
| commit | 60cb876a25c916ac37b6f08b20bfbbda2a2d68c1 (patch) | |
| tree | d6c4d35f58f8146145f66a477bd70e39ce2be6e2 /api.py | |
| parent | 9cfc1067fdd607de73327d65d44a6bbae90e9469 (diff) | |
| download | apigrabber-60cb876a25c916ac37b6f08b20bfbbda2a2d68c1.tar.gz apigrabber-60cb876a25c916ac37b6f08b20bfbbda2a2d68c1.zip | |
log: inserts with playername
Diffstat (limited to 'api.py')
| -rw-r--r-- | api.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |
