You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For logging to STDERR printing single lines is easier to integrate into tools like Stackdriver which is already integrated into GKE. Printing single line JSON blobs with error information and consistent keys is even better and seems like the approach taken by newer tools. It is also much more easily digestible by monitoring endpoints.
{error: 'error message', level: 'debug', requestID: 'someRequestIDIfApplicable'}... etc.
Expanding on #1 (comment)
For logging to STDERR printing single lines is easier to integrate into tools like Stackdriver which is already integrated into GKE. Printing single line JSON blobs with error information and consistent keys is even better and seems like the approach taken by newer tools. It is also much more easily digestible by monitoring endpoints.
I can help with this stuff.