Skip to content

Note for design: Log customization and tuning #58

Description

@jamesmunns

I've gotten feedback that we should take special care around customization of log output.

Currently, we only really offer the supported log level, and don't have specific support for specifying the log level of our dependencies including pingora.

As logging is a primary "user interface" for River, we should make another design pass on the desired capabilities and options for logging.

Some additional suggested features include:

  • reducing the percentage of logs that are printed, allowing for statistical sampling of high-volume logs, e.g. tracing 1%/10%/100% of all connections verbosely
  • tuning the contents and format of primary logs, allowing for different users to include different information relevant to their use cases
  • Filtering and anonymization of logs, for example not logging headers based on some sort of regex (to remove PII), or allowing for hashed versions of logs, such as logging the hash of the entire header, allowing for observation of duplicate requests

CC @branlwyd

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions