I'll assume this is App Engine Standard, running on a "backend" instance. I 
have a bunch of things that do something similar, and to get the logs to 
look sensible in the logs viewer, I start a new background thread to do the 
work about once a minute. The logs get attached to the "start time" of the 
background thread, so this means I see a sequence of "requests" each 
minute, with the appropriate messages in it. I'm not totally sure this is 
your problem, but if it is, you'll need to have your log task start a new 
thread periodically? I hope this helps,

Evan


On Wednesday, July 26, 2017 at 1:09:47 PM UTC-4, Richard wrote:
>
> In the old days, I had a backend that ran 24/7 as the master server for a 
> multiplayer game.  As part of this, I would log misc information every 30 
> secs or so.  This was all displayed in a single log entry in the old log 
> viewer and worked well.
>
> Enter stackdriver.... :(
>
> Now I get the first 3-4 log statements on module startup and nothing else 
> gets logged after that.  Short of pushing all the log statement outputs 
> into a DB text entry, how do I get to:
> 1) write the log statements to a single entry
> 2) see the entry
>
> Python btw...
>
> Thanks in advance.
>
> -R
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/ae4ba31a-6df4-4034-9d00-aa37c2529e5d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to