diff --git a/src/Microsoft.AspNet.Routing/Logging/LoggerExtensions.cs b/src/Microsoft.AspNet.Routing/Logging/LoggerExtensions.cs index 97c29946d4..88ba7efddc 100644 --- a/src/Microsoft.AspNet.Routing/Logging/LoggerExtensions.cs +++ b/src/Microsoft.AspNet.Routing/Logging/LoggerExtensions.cs @@ -16,7 +16,7 @@ namespace Microsoft.AspNet.Routing.Logging.Internal } logger.Log( - logLevel: LogLevel.Verbose, + logLevel: LogLevel.Debug, eventId: 0, state: values, exception: null, diff --git a/src/Microsoft.AspNet.Routing/Logging/TreeRouterLoggerExtensions.cs b/src/Microsoft.AspNet.Routing/Logging/TreeRouterLoggerExtensions.cs index d5ecf2292f..5e0af6291c 100644 --- a/src/Microsoft.AspNet.Routing/Logging/TreeRouterLoggerExtensions.cs +++ b/src/Microsoft.AspNet.Routing/Logging/TreeRouterLoggerExtensions.cs @@ -13,7 +13,7 @@ namespace Microsoft.AspNet.Routing.Logging static TreeRouterLoggerExtensions() { _matchedRouteName = LoggerMessage.Define( - LogLevel.Verbose, + LogLevel.Debug, 1, "Request successfully matched the route with name '{RouteName}' and template '{RouteTemplate}'."); } diff --git a/src/Microsoft.AspNet.Routing/RouteConstraintMatcher.cs b/src/Microsoft.AspNet.Routing/RouteConstraintMatcher.cs index 67a407eb81..c4ecf93a59 100644 --- a/src/Microsoft.AspNet.Routing/RouteConstraintMatcher.cs +++ b/src/Microsoft.AspNet.Routing/RouteConstraintMatcher.cs @@ -52,7 +52,7 @@ namespace Microsoft.AspNet.Routing object routeValue; routeValues.TryGetValue(kvp.Key, out routeValue); - logger.LogVerbose( + logger.LogDebug( "Route value '{RouteValue}' with key '{RouteKey}' did not match " + "the constraint '{RouteConstraint}'.", routeValue, diff --git a/src/Microsoft.AspNet.Routing/RouterMiddleware.cs b/src/Microsoft.AspNet.Routing/RouterMiddleware.cs index e785b808e7..68a526f81b 100644 --- a/src/Microsoft.AspNet.Routing/RouterMiddleware.cs +++ b/src/Microsoft.AspNet.Routing/RouterMiddleware.cs @@ -37,7 +37,7 @@ namespace Microsoft.AspNet.Builder if (!context.IsHandled) { - _logger.LogVerbose("Request did not match any routes."); + _logger.LogDebug("Request did not match any routes."); await _next.Invoke(httpContext); } diff --git a/src/Microsoft.AspNet.Routing/Template/TemplateRoute.cs b/src/Microsoft.AspNet.Routing/Template/TemplateRoute.cs index e835d4dceb..c9e3bdd365 100644 --- a/src/Microsoft.AspNet.Routing/Template/TemplateRoute.cs +++ b/src/Microsoft.AspNet.Routing/Template/TemplateRoute.cs @@ -149,7 +149,7 @@ namespace Microsoft.AspNet.Routing.Template return; } - _logger.LogVerbose( + _logger.LogDebug( "Request successfully matched the route with name '{RouteName}' and template '{RouteTemplate}'.", Name, RouteTemplate);