From 8de4ddc0108de759fb1e9b6d28e54518aa617220 Mon Sep 17 00:00:00 2001 From: Ajay Bhargav Baaskaran Date: Thu, 11 Aug 2016 17:13:57 -0700 Subject: [PATCH] Logging Info instead of Warning for Authorization failure in ControllerActionInvoker --- .../Internal/MvcCoreLoggerExtensions.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Internal/MvcCoreLoggerExtensions.cs b/src/Microsoft.AspNetCore.Mvc.Core/Internal/MvcCoreLoggerExtensions.cs index d234ae5e3e..91f1cb299c 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Internal/MvcCoreLoggerExtensions.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Internal/MvcCoreLoggerExtensions.cs @@ -110,7 +110,7 @@ namespace Microsoft.AspNetCore.Mvc.Internal "Executing FileResult, sending file as {FileDownloadName}"); _authorizationFailure = LoggerMessage.Define( - LogLevel.Warning, + LogLevel.Information, 1, "Authorization failed for the request at filter '{AuthorizationFilter}'.");