How do I view logs by thread?

330 views
Skip to first unread message

ThePiachu

unread,
Feb 25, 2016, 4:41:25 AM2/25/16
to Google App Engine
In the old logs, I was able to neatly see all logs by thread - every warning, error and debug was in chronological order, sorted by the thread that initialized them. Now it seems everything is jumbled together, clumped a few entries at a time and shuffled between multiple simultaneous threads.

Is there any way for me to read the new logs in a threaded fashion, especially int he light of the old console going away?

Nicholas (Google Cloud Support)

unread,
Feb 26, 2016, 2:25:36 PM2/26/16
to Google App Engine
I'm uncertain how exactly you would like to view the logs but for the sake of clarity, I will elaborate on a few options available to you in hopes that this might help.
  • You can filter by log level from the third drop down.
  • The 'Filter by label...' text box also provides an advanced filter depending on the granularity you seek.
  • Under 'View Options' you can choose to view the newest logs last, otherwise they will be first.
  • To the right of each request, the three dots allow you to 'Show entries from same request'
I don't know if the above is in fact helpful. If not, please describe with a little more detail the view you seek and how entries are to be threaded together.

Rohit Gupta

unread,
Feb 28, 2016, 6:08:39 AM2/28/16
to Google App Engine
I believe I have the same concern, so perhaps I can provide some more details.

Basically, no combination of options seems to produce the same overview that we had by default in the old logs.

I'm not talking about some obscure details. I'm talking about the information the old logs showed by default!



Are you guys are trying to cut costs by removing the old logs viewer? I can definitely appreciate that.

But logs are very important, and we shouldn't have to click and poke and prod to find what we're looking for.

Christian F. Howes

unread,
Feb 28, 2016, 12:16:53 PM2/28/16
to Google App Engine
Nicholas,

What i think the original poster is trying to say is that if I have a long running request (thread on a backend instance) that the log messages get interleaved in the new logs viewer.  This makes it nearly impossible to figure out what the original request was that triggered a certain log.  The old log viewer always has the request/thread's complete set of logs as 1 entry.  If this is what the original poster was trying to say I'd love to star that issue in the public issue tracker!

Rohit - it sound like you are noticing some things that i have also noticed.  Have you starred the following issues to vote for your support?
https://code.google.com/p/googleappengine/issues/detail?id=6799
https://code.google.com/p/googleappengine/issues/detail?id=11807
https://code.google.com/p/googleappengine/issues/detail?id=12402

Here's to updates to the log viewer before the old one is shut down!

Christian

Nicholas (Google Cloud Support)

unread,
Mar 1, 2016, 12:17:22 PM3/1/16
to Google App Engine

Thanks to everyone for clarifying their use case. When initially testing the differences between the two, I arrived at these similar results (see attached screenshots).

I do not believe however, that these exemplify the kinda of threading you are describing. As such, please submit a Feature Request with as much information as possible including the helpful description above and screenshots of examples.

I would then strongly encourage that you post a link to the issue here and each 'star' the issue along with other relevant issues posted above to give as much attention as possible to issues important to the community.

On Thursday, February 25, 2016 at 4:41:25 AM UTC-5, ThePiachu wrote:
Screenshot 2016-02-29 at 12.50.06 PM.png
Screenshot 2016-02-29 at 12.48.28 PM.png
Reply all
Reply to author
Forward
0 new messages