deltanine
deltanine

Reputation: 1211

How to filter log messages correctly in google app engine log viewer?

The log viewer doesn't seem to work the way I expect....

When I expand the options and select "logs with minimum severity: Error" I expect to see only log messages with Error or Critical level.

But I'm also seeing some Info and Warning and Debug level messages - but not all messages from each loglevel category - just some.

Can anyone enlighten me?

Upvotes: 3

Views: 386

Answers (1)

Philipp Reichart
Philipp Reichart

Reputation: 20961

The Logs viewer always shows the log output of a complete request, not parts of it.

If you filter by minimum severity Error, you'll only see requests with at least one log statement of severity Error, but you'll also see all other log output for that request even if it wasn't logged as Error.

It's usually helpful in debugging to see the log output of a complete request, it gives more context but does make the Logs viewer feel a bit crowded.

Upvotes: 2

Related Questions