Skip to content

Commit 92bc59e

Browse files
committed
Fix dispatcher not obeying to the INFO logging level
1 parent 22d9077 commit 92bc59e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pyrogram/dispatcher.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ async def start(self):
119119
self.loop.create_task(self.handler_worker(self.locks_list[-1]))
120120
)
121121

122-
logging.info(f"Started {self.client.workers} HandlerTasks")
122+
log.info(f"Started {self.client.workers} HandlerTasks")
123123

124124
async def stop(self):
125125
if not self.client.no_updates:
@@ -132,7 +132,7 @@ async def stop(self):
132132
self.handler_worker_tasks.clear()
133133
self.groups.clear()
134134

135-
logging.info(f"Stopped {self.client.workers} HandlerTasks")
135+
log.info(f"Stopped {self.client.workers} HandlerTasks")
136136

137137
def add_handler(self, handler, group: int):
138138
async def fn():

0 commit comments

Comments
 (0)