Skip to content

[FEATURE] Improve logging #275

@david-garcia-garcia

Description

@david-garcia-garcia

Is your feature request related to a problem? Please describe. 🐛

While working on this plugin I have had difficulty working with logs due to:

  • Multiple per request logs are sent to the output, when the plugin is in use, this makes the amount of logging generated unbearable
  • There is no clear distinction between the middleware log's and traefik's actual logs
  • No structured log format (i.e. JSON) so that logs can be easily manipulated and ingested into logging services

Describe the solution you'd like

  • Use the slog library, with an additional TRACE log level
  • Change debug level of logs that run on every request

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions