Skip to content

feat: turn off request logging #254

Description

@wesbragagt

Check Existing Issues

  • I have searched the existing issues and discussions.

Problem Description

Title: Add option to disable request logging for specific endpoints

Problem

Request logs are currently generated for all endpoints, creating unnecessary noise in logs and making it harder to identify important issues.

Desired Solution you'd like

Add a configuration option to turn off request logging for specified endpoints.

Example configuration:

logging:
  disable_request_logging:
    - "/health"
    - "/metrics" 
    - "/status"

Benefits

  • Cleaner log output
  • Easier debugging and monitoring
  • Reduced log storage requirements
  • Better signal-to-noise ratio in logs

Use Cases

  • Health check endpoints that are polled frequently
  • Metrics endpoints accessed by monitoring systems
  • Static asset endpoints
  • Any high-frequency, low-value endpoints

Alternatives Considered

No response

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions