Tracing in a Flask application
Albert-Jan Roskam
sjeik_appie at hotmail.com
Mon Aug 9 09:21:13 EDT 2021
Hi,
logging.basicConfig(level="DEBUG")
..in e.g __init__.py
AJ
On 4 Aug 2021 23:26, Javi D R <javi.xeneize at gmail.com> wrote:
Hi
I would like to do some tracing in a flask. I have been able to trace
request in plain python requests using sys.settrace(), but this doesnt
work
with Flask.
Moreover, what i want to trace is in a flask application, when an
endpoint
is called, what was the request, which parts of the code was executed (i
think i can still do it with settrace) and what is the response sent by
the
application
Can you help me to understand which services i can use to do this?
Thanks
--
https://mail.python.org/mailman/listinfo/python-list
More information about the Python-list
mailing list