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

python -m venv env
env\Scripts\activate.bat
pip install Flask requests
flask --app main run
 * Running on http://127.0.0.1:5000
127.0.0.1 - - [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 http://127.0.0.1:5000/main?arg-a=123&arg-b=456

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:

https://flask.palletsprojects.com/en/2.2.x/logging/

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