Skip to content

[Feature Request] Add global mercure handler directive to set minimum log level. #1075

@mhpcc

Description

@mhpcc

Currently the only way to handle mercure logging without affecting other logs is to define it in its own route handler. That's getting quite cumbersome in a large Caddyfile. I would like to see a global option like

{
    mercure {
        log {
            level WARN
        }
    }
}

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