A
A
Alexander2018-06-06 21:45:15
Python
Alexander, 2018-06-06 21:45:15

Telegram bot in python, how to log incoming requests?

bot for telegram on pythone using telebot, how to log incoming requests?
see TelegramBotAPI documentation
import logging
logger = telebot.logger
telebot.logger.setLevel(logging.DEBUG) # Outputs debug messages to console.
configured but it only logs outgoing responses,

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
sim3x, 2018-06-06
@sim3x

https://docs.python.org/3/library/logging.html

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question