Skip to content

Commit f65b691

Browse files
committed
JobQueue: use class name for the logger name
1 parent 02af1ea commit f65b691

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

telegram/ext/jobqueue.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class JobQueue(object):
3939
def __init__(self, bot):
4040
self.queue = PriorityQueue()
4141
self.bot = bot
42-
self.logger = logging.getLogger(__name__)
42+
self.logger = logging.getLogger(self.__class__.__name__)
4343
self.__lock = Lock()
4444
self.__tick = Event()
4545
self._next_peek = None

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy