diff --git a/src/Microsoft.AspNet.Routing/Logging/LoggerExtensions.cs b/src/Microsoft.AspNet.Routing/Logging/LoggerExtensions.cs index 97c29946..88ba7efd 100644 --- a/src/Microsoft.AspNet.Routing/Logging/LoggerExtensions.cs +++ b/src/Microsoft.AspNet.Routing/Logging/LoggerExtensions.cs @@ -16,7 +16,7 @@ public static void WriteValues(this ILogger logger, object values) } 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 d5ecf229..5e0af629 100644 --- a/src/Microsoft.AspNet.Routing/Logging/TreeRouterLoggerExtensions.cs +++ b/src/Microsoft.AspNet.Routing/Logging/TreeRouterLoggerExtensions.cs @@ -13,7 +13,7 @@ internal static class TreeRouterLoggerExtensions 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 67a407eb..c4ecf93a 100644 --- a/src/Microsoft.AspNet.Routing/RouteConstraintMatcher.cs +++ b/src/Microsoft.AspNet.Routing/RouteConstraintMatcher.cs @@ -52,7 +52,7 @@ public static bool Match(IReadOnlyDictionary constrain 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 e785b808..68a526f8 100644 --- a/src/Microsoft.AspNet.Routing/RouterMiddleware.cs +++ b/src/Microsoft.AspNet.Routing/RouterMiddleware.cs @@ -37,7 +37,7 @@ public async Task Invoke(HttpContext httpContext) 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 e3f9538c..504fd22d 100644 --- a/src/Microsoft.AspNet.Routing/Template/TemplateRoute.cs +++ b/src/Microsoft.AspNet.Routing/Template/TemplateRoute.cs @@ -149,7 +149,7 @@ public async virtual Task RouteAsync(RouteContext context) return; } - _logger.LogVerbose( + _logger.LogDebug( "Request successfully matched the route with name '{RouteName}' and template '{RouteTemplate}'.", Name, RouteTemplate);