From b79a6b94945e4686c68abf0528a793e18247ebb7 Mon Sep 17 00:00:00 2001 From: s3lph Date: Sun, 16 Jan 2022 20:25:51 +0100 Subject: [PATCH] Add debug log for polling --- me.s3lph.spaceapi/spaceapi.py | 1 + 1 file changed, 1 insertion(+) diff --git a/me.s3lph.spaceapi/spaceapi.py b/me.s3lph.spaceapi/spaceapi.py index 1437359..f2ef988 100644 --- a/me.s3lph.spaceapi/spaceapi.py +++ b/me.s3lph.spaceapi/spaceapi.py @@ -123,6 +123,7 @@ class SpaceapiBot(Plugin): async with aiohttp.ClientSession(read_timeout=15, conn_timeout=5) as http: while True: await asyncio.sleep(self.config['poll'].get('interval', 60)) + self.log.debug('Polling SpaceAPI endpoint') try: state, changed = await self.update_spaceapi_status(http) if changed: