dart-lang / pub-dev

The pub.dev website
https://pub.dev
BSD 3-Clause "New" or "Revised" License
774 stars 145 forks source link

Debug: "An error occured while writing log entries:" #6042

Open jonasfj opened 2 years ago

jonasfj commented 2 years ago

Debug: "An error occured while writing log entries:"

sigurdm commented 1 year ago

We could investigate logging by outputting json to stdout instead of sending grpc messages - they are themselves a point of failure.

jonasfj commented 1 year ago

We can write logs to stdout, see: https://cloud.google.com/logging/docs/structured-logging

However, when writing structure logs to stdout, we can only output:

So this would involve changing the logging format. As package:appengine correlates logs and puts a list of log lines into protoPayload.