From 911cff2384de8146d32cb2b14ff1625bfba679c5 Mon Sep 17 00:00:00 2001 From: schneefux Date: Tue, 28 Feb 2017 17:54:21 +0100 Subject: logs: be more quiet --- api.py | 4 ---- 1 file changed, 4 deletions(-) (limited to 'api.py') diff --git a/api.py b/api.py index 249c362..d4b664a 100644 --- a/api.py +++ b/api.py @@ -61,7 +61,6 @@ class Worker(object): explicit_player = payload["playername"] async with self._srcpool.acquire() as srccon: async with self._destpool.acquire() as destcon: - logging.debug("%s: processing '%s'", jobid, object_id) async with srccon.transaction(): async with destcon.transaction(): # 1 object in raw : n objects in web @@ -157,10 +156,8 @@ class Worker(object): jobtype="process") if jobid is None: raise LookupError("no jobs available") - logging.debug("%s: starting job", jobid) await self._execute_job(jobid, payload, priority) await self._queue.finish(jobid) - logging.debug("%s: finished job", jobid) async def run(self): """Start jobs forever.""" @@ -168,7 +165,6 @@ class Worker(object): try: await self._work() except LookupError: - logging.info("nothing to do, idling") await asyncio.sleep(10) async def start(self, number=1): -- cgit v1.3.1