Location of a Windows 10 based python 3.8 project's logs created using Virtual Environment

python -m venv env
pip install Flask requests
flask --app main run
 * Running on - - [23/Sep/2022 13:24:05] "GET /main?arg-a=123&arg-b=456 HTTP/1.1" 500

No error message but I get a 500 on going to

Where is the log folder of a flask based app created in a Windows 10 virtual environment ?

I would guess that Flask logs to stderr by default since the documentation says it uses the logging module from the standard library:


Maybe after setting a lower logging level you will get the desired information.