View Log In Local Development Server In Google App Engine

In local development server there isn't a page from where you can see your application logs. But Google has provided a handy way to do so.

Add ?debug in your URL and a pop box will come listing all the logs.

http://localhost:8080/?debug


Like in appengine dashboard you can see logs by Debug, Info, Warning, Error, Critical. There isn't a way to filter the logs yet though. You can change the position of the box to top four corners by clicking in the little box on top left corner of the popped up box.

Comments

  1. Thanks.. I was looking for this for last 2 days.

    ReplyDelete
  2. It always shows my index page. Please help?

    ReplyDelete
  3. Can you be more detailed please

    ReplyDelete
  4. I have an index.htm under the root, so it's always shown up instead of the log message every time I accessed http://localhost:8080/?debug. And when I removed the index.htm, I got the error message "403 forbidden". Thanks for helping.

    ReplyDelete
  5. You really don't need to type the file name in Google App Engine. Just set up the correct app.yaml. Are you sure you're running Google App Engine and not other Aache servers.

    ReplyDelete
  6. This comment has been removed by the author.

    ReplyDelete
  7. Yes, i'm sure I'm using Google App Engine. what is app.yamI? I'm using the App Engine as a Maven plugin because I'm using Maven project. But, I think there is not much difference.

    ReplyDelete
  8. So do you have any idea about the "403 forbidden" message?

    ReplyDelete
  9. Oh sorry, i may come from Spring security i'm using.

    ReplyDelete
  10. I haven't use Maven plugin. I'm sorry I can't help you with it. This guide is intended for http://code.google.com/appengine/

    ReplyDelete

Post a Comment

Comments are moderated. No spam please.

Popular posts from this blog

Perm Root HTC Desire Gingerbread 2.3.3

Increase Free Space On HTC Desire Android Phones

Logging Handler With Buffering And Uses Amazon SES For Python