Skip to content

Add config option to disable gin request logs #1701

@joschahenningsen

Description

@joschahenningsen

In production, the gin request logs for non ok (>=400) status codes are very noisy. We need a config option to disable them.

e.g.

{"service": "GIN", "time": 2025-11-24 16:57:47, "status": 403, "client": "127.0.0.1", "path": "/api/progressReport", "agent": Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions