Skip to content

Commit 410179f

Browse files
author
Alexander
authored
IP-prefix
1 parent 660cba2 commit 410179f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

telegram/utils/webhookhandler.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,9 @@ def do_POST(self):
8787
self.server.update_queue.put(update)
8888

8989
def log_message(self, format, *args):
90-
self.logger.debug(format % args)
90+
# 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))
9193
return
9294

9395
def _validate_post(self):

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