Skip to content

log output #2

@bpostlethwaite

Description

@bpostlethwaite

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.

{error: 'error message', level: 'debug', requestID: 'someRequestIDIfApplicable'}... etc.

I can help with this stuff.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions