Skip to content

Commit 1b80b9b

Browse files
author
Alexander
authored
Remove annoying http.server logging
1 parent e0539d5 commit 1b80b9b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

telegram/utils/webhookhandler.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,9 @@ def do_POST(self):
8585
update = Update.de_json(json.loads(json_string))
8686
self.logger.debug('Received Update with ID %d on Webhook' % update.update_id)
8787
self.server.update_queue.put(update)
88+
89+
def log_message(self, format, *args):
90+
return
8891

8992
def _validate_post(self):
9093
if not (self.path == self.server.webhook_path and 'content-type' in self.headers and

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