actix / actix/actix-web

Support altering logging middleware logs before logging them

Open
#3,634 0 comments 0 reactions 0 assignees View on GitHub
A-web C-improvement
Dominant language
Rust
Stars
24.8k
Forks
1.9k
Avg merge
23h 10m
Merged PRs (30d)
26

Description

In the python standard library, using a `Formatter` ([docs](https://docs.python.org/3/library/logging.html#formatter-objects)) 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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.