Add some more logs

This commit is contained in:
Dan 2018-06-17 18:34:37 +02:00
parent 6da15b266d
commit f983baf5cd

View File

@ -167,7 +167,7 @@ class Session:
self.is_connected.set()
log.debug("Session started")
log.info("Session started")
async def stop(self):
self.is_connected.clear()
@ -201,7 +201,7 @@ class Session:
except Exception as e:
log.error(e, exc_info=True)
log.debug("Session stopped")
log.info("Session stopped")
async def restart(self):
await self.stop()