Skip to content
This repository has been archived by the owner on Nov 27, 2018. It is now read-only.

Decrease amount of logging for non-matching routes #191

Closed
rynowak opened this issue Jun 19, 2015 · 1 comment
Closed

Decrease amount of logging for non-matching routes #191

rynowak opened this issue Jun 19, 2015 · 1 comment
Assignees
Milestone

Comments

@rynowak
Copy link
Member

rynowak commented Jun 19, 2015

Add logging to a project and turn on Verbose

You'll see output like this for a 404:

verbose : [Microsoft.AspNet.Mvc.Routing.InnerAttributeRoute] Request did not mat
ch any attribute route.
verbose : [Microsoft.AspNet.Routing.Template.TemplateRoute] Request did not matc
h the route with name 'default' and template '{controller=Home}/{action=Index}'.

verbose : [Microsoft.AspNet.Builder.RouterMiddleware] Request did not match any
routes.

You'll see the messages about not matching a route from attribute routing and template route very frequently. In the case that nothing matches, the last message is good enough, we should get rid of the first two.

@ajaybhargavb
Copy link
Contributor

0882a39 and aspnet/Mvc@5632a33

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants