From f983baf5cdc98d9baedd168769e7e19c99d230d1 Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Sun, 17 Jun 2018 18:34:37 +0200 Subject: [PATCH] Add some more logs --- pyrogram/session/session.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyrogram/session/session.py b/pyrogram/session/session.py index f06264c0..3a1fefd8 100644 --- a/pyrogram/session/session.py +++ b/pyrogram/session/session.py @@ -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()