I'm trying to move my GAE development to the cloud. So far Codeenvy has the richest toolset however I'm struggling with one small issue. when I use the python logging library I don't know where to view these messages!
def post(self):
self.response.write('Processing form data...')
feedback = self.request.get('content')
logging.info(feedback)
I assumed they would appear in the console window however they are not output there. It seems strange given the huge support Codeenvy has for GAE that this appears not to be supported.
When you use the
logging
library, the messages should be shown in Codenvy's console out of the box.To also see your custom logs in the Google Developers Console,
You might have to supply
logging.getLogger().setLevel(logging.DEBUG)
When I tried that in Codenvy, I got the following response
To now view the logs in the Google Developers Console see the following,