Alexander,

Thank you so much for pointing me towards the logging module. It has been a
great help, although not in solving the issue mentioned here. I was not
getting any errors in the appengine logs, as my issue was due to malformed
strings in app.yaml. Apparently the dev_appserver isn't as sensitive as the
live server, so it was functioning without complaint, and then DOA in live.

Anyhow, I still think that it's very inconvenient that the logs in the
appengine admin view don't display anything for malformed app.yaml.

Again, thanks for the tip on logging :)

Killarny

On Thu, Aug 28, 2008 at 12:45 AM, Alexander Kojevnikov <
[EMAIL PROTECTED]> wrote:

>
> You should also see the exception info in the log if it wasn't handled
> at all.
>
> On Aug 28, 3:58 pm, Alexander Kojevnikov <[EMAIL PROTECTED]>
> wrote:
> > Do you use the logging module?
> http://code.google.com/appengine/docs/python/logging.html
> >
> > You can try/except your code like this:
> >
> >     try:
> >         code_that_can_fail()
> >     except:
> >         logging.error('your_message', exc_info=sys.exc_info())
> >
> > You will then see the full exception information, including the stack
> > trace in the admin console / logs.
> >
> > On Aug 28, 2:31 pm, Killarny <[EMAIL PROTECTED]> wrote:
> >
> > > It is very frustrating that the dev_appserver will validate and run
> > > code that does not run on the live server. Even more frustrating is
> > > that the live server doesn't provide a way to view python traceback to
> > > determine what the actual problem is.
> >
> > > Does anyone know of a technique that I can use to debug my live
> > > server, other than trial and error updates? I'm getting a mysterious
> > > 500 server error with my code, but the code runs perfectly under
> > > dev_appserver!
> >
> > > Frustrated,
> >
> > > Killarny
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to