7

When I use Google App Engine, I can:

  • (A) nest app logs (e.g. the info log below)
  • (B) see the summary of a request log in the top "collapsed" row
  • (C) get tags with an operation id that I can click to easily filter the log stream by

optimal gae log example

Is it possible to accomplish the same thing via the Stackdriver Logging API?

I understand I can achieve (A) via these instructions.

I can achieve (B) by either:

  • (i) adding the data to the httpRequest
  • (ii) adding it to jsonPayload and following this Googler's advice to reverse engineer what GAE does.

However, if I choose (i), the operation-id tags (C) no longer appear and if I do the latter, then (A) app log nesting stops working.

Dan Cornilescu
  • 39,470
  • 12
  • 57
  • 97
Andrey Fedorov
  • 9,148
  • 20
  • 67
  • 99

0 Answers0