Skip to content

Support altering logging middleware logs before logging them #3634

Open
@martimors

Description

@martimors

In the python standard library, using a Formatter (docs) I can remove sensitive information from logs, such as query parameters with sensitive info.

Suggest something similar for actix!

It could use regex or something?

To be clear, I mean the default logging middleware that logs requests.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-webproject: actix-webC-improvementCategory: an improvement to existing functionality

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions