We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 660cba2 commit 410179fCopy full SHA for 410179f
telegram/utils/webhookhandler.py
@@ -87,7 +87,9 @@ def do_POST(self):
87
self.server.update_queue.put(update)
88
89
def log_message(self, format, *args):
90
- self.logger.debug(format % args)
+ # The client ip address and current date and time are prefixed
91
+ # to every message logged by original function
92
+ self.logger.debug(('%s - - ' + format) % (client_address[0], args))
93
return
94
95
def _validate_post(self):
0 commit comments