-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Logs from routing #2860
Comments
Are you using beta5? |
Yep, all packages are beta5 on VS2015 |
We recently updated that log levels of most log events so that the Can you try with the latest build? I took a quick look and the only LogInformation that I saw was the one you pointed out. We're contemplating removing even that one, but we're not sure if we want to remove all the Information logs from the request... |
The latest builds are from the aspnetvnext MyGet feed, which is the "dev" branch, right? The dev branch still has that one specific |
Yes, the |
@lodejard @rynowak @Eilon We think at the Information level there should really only be one log event per request from the framework - that a request happened.This should probably be done in hosting instead of in routing. All the other details about what happened for that request should probably be at the Verbose level. |
Fixed the attribute routing part: e61ebca |
When using the
Microsoft.Framework.Logging.ILoggerFactory
and DI, is it possible to get MVC routing to be a little more quiet? I useLogLevel.Information
quite a bit myself, but so does MVC routing apparently.Specifically the lines where it logs (at level 'Information') when it matches a route:
Mvc/src/Microsoft.AspNet.Mvc.Core/Routing/InnerAttributeRoute.cs
Lines 136 to 139 in 5632a33
Perhaps this log is more 'verbose' than 'information'?
The text was updated successfully, but these errors were encountered: