Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce the level of the emitted log line from error to debug. #2196

Merged
merged 5 commits into from May 2, 2021

Conversation

LukeMathWalker
Copy link
Contributor

@LukeMathWalker LukeMathWalker commented May 2, 2021

PR Type

Other

PR Checklist

  • A changelog entry has been made for the appropriate packages.
  • Format code with the latest stable rustfmt.
  • (Team) Label with affected crates and semver status.

Overview

The framework already provides a Logger middleware for this purpose - there is no need to add another concern to from_error. Furthermore, it leads to a duplicate log line when a logging middleware is used, with no option to silence this particular log record.

LukeMathWalker and others added 5 commits May 2, 2021 21:44
The framework already provides a `Logger` middleware for this purpose - there is no need to add another concern to `from_error`. Furthermore, it leads to a duplicate log line when a logging middleware is used, with no option to silence this particular log record.
@robjtede robjtede added A-http project: actix-http B-semver-patch labels May 2, 2021
@robjtede robjtede merged commit c17662f into actix:master May 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-http project: actix-http B-semver-patch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants