Logging Info instead of Warning for Authorization failure in ControllerActionInvoker
This commit is contained in:
parent
a4ec3bb24a
commit
8de4ddc010
|
|
@ -110,7 +110,7 @@ namespace Microsoft.AspNetCore.Mvc.Internal
|
|||
"Executing FileResult, sending file as {FileDownloadName}");
|
||||
|
||||
_authorizationFailure = LoggerMessage.Define<object>(
|
||||
LogLevel.Warning,
|
||||
LogLevel.Information,
|
||||
1,
|
||||
"Authorization failed for the request at filter '{AuthorizationFilter}'.");
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue