Skip to content

[Suggestion] Allow log level to be specified for middleware::logger #3604

Open
@JackSpagnoli

Description

@JackSpagnoli

The logger middleware will currently only log at an INFO level.

It would be nice to have this be configurable to allow for, for example, TRACE level logging of requests.

I propose adding a log_level method to actix_web::middleware::Logger to allow log level to be specified, defaulting to INFO.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions