Skip to content

Support for structured logging (JSON) #437

@4TT1L4

Description

@4TT1L4

Problem:

  • At the moment only the standard env_logger based logging is supported. In some scenarios it would be beneficial, if Oura would support structured logging as well, in an easy to parse JSON format.

For a more detailed description about the structured logging format, please see the Google Cloud Documentation:

Suggestion:

  • Add a feature flag for the configuration of the logging method. Depending if the json_logs feature is set, Oura could be using json_env_logger2 or env_logger.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions