brainjam brainjam - 1 year ago 82
Python Question

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

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 GoogleAppEngineLauncher Log Console via

, but it isn't showing up. However, anything sent through, say,
does show up. I've tried a
before the
, but to no avail.

What am I missing?

Answer Source

I believe the only way to get debug messages to show up in the dev server is to pass --debug. dev_appserver itself uses this same logger, though, so be prepared to see debug messages from the server as well as your own code.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download