Requests are not logged when not running with flask run #4713
Unanswered
denisvitez
asked this question in
Q&A
Replies: 1 comment 2 replies
-
The development server logs requests to stderr automatically. If you're using something else, such as a production server, you'll need to look at that server to configure its logging. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey,
I recently upgraded my application from Flask
v1.x
tov2.1.3
. And since I'm using some 3rd party library that no longer supports running applications withflask run
I am now running the application aspython app.py
. I am wondering what I have to do to get the old logging behavior since logging of all requests is really beneficial for debugging process. I tried searching for this information but was so far unsuccessful. If someone knows what to do or can point me to somewhere where this has already been answered I will be very grateful :)Beta Was this translation helpful? Give feedback.
All reactions