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

前端 未结 4 1020
余生分开走
余生分开走 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:26

    another alternative to setting the log_level flag:

    logging.getLogger().handlers[0].setLevel(logging.DEBUG)
    

提交回复
热议问题