I think what you're looking for is:

import com.google.apphosting.api.ApiProxy;
ApiProxy.flushLogs();

Ikai Lan
Developer Programs Engineer, Google App Engine
Blog: http://googleappengine.blogspot.com
Twitter: http://twitter.com/app_engine
Reddit: http://www.reddit.com/r/appengine



On Sun, May 15, 2011 at 11:02 PM, radomir <[email protected]> wrote:

> You can use LogDigger to capture application errors
> http://logdigger.com/logdigger-connector/java-logging-app-engine
>
>
> On May 15, 8:28 am, Mike Prince <[email protected]> wrote:
> > I have a servlet that works fine in development but crashes the server
> > in production and I'm trying to figure out why.
> >
> > Since the log files seem to be flushed at the end of the HTTP request,
> > and the server is crashing, nothing is written and I'm flying blind.
> >
> > I thought I heard mention of a way to force immediate flushing of each
> > logging event... but I can't seem to find any docs.  If this exists,
> > can someone please point me to the docs or let me know how to
> > configure it?
> >
> > Thanks,
> >
> > Mike
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to [email protected].
> 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.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected].
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