Skip to content

Commit

Permalink
fix: Logging on body not extracted (#246)
Browse files Browse the repository at this point in the history
  • Loading branch information
bruno-garcia committed Jul 27, 2019
1 parent 21888ec commit 46bf554
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -65,7 +65,7 @@ public object ExtractPayload(IHttpRequest request)
// Request body extraction is opt-in
case RequestSize.None:
_options.DiagnosticLogger?.LogDebug("Skipping request body extraction.");
break;
return null;
}

_options.DiagnosticLogger?.LogWarning("Ignoring request with Size {0} and configuration RequestSize {1}",
Expand Down

0 comments on commit 46bf554

Please sign in to comment.