Getting logging.debug() to work on Google App Engine/Python

前端 未结 4 1011
余生分开走
余生分开走 2021-01-03 19:33

I\'m just getting started on building a Python app for Google App Engine. In the localhost environment (on a Mac)

I\'m trying to send debug info to the GoogleAppEng

4条回答
  •  难免孤独
    2021-01-03 20:22

    On a Mac:

    1) click Edit > Application Settings

    2) then copy and paste the following line into the "Extra Flags:" field

    --log_level=debug

    3) click Update

    your debug logs will now show up in the Log Console

提交回复
热议问题