There is no logging?

Jul 8, 2010 at 6:22 PM
Edited Jul 8, 2010 at 6:23 PM

I just noticed that there is no logging available MvcExtensions (for troubleshooting MvcExtensions)

Is this something that's in the plan?

Jul 8, 2010 at 6:54 PM

The reason I noticed it is while troubleshooting Boostrapper.

In ExtendedMvcApplication, Bootstrapper.Execute and Bootstrapper.Dispose is called by Application_Start and Application_End respectively.  If an error occurs during Bootstrapper methods, there isn't an easy way for me to know what went wrong.

Even if there is no logging added directly to MvcExtensions, can we refactor ExtendedMvcApplication so that we can catch exception occurring during Application_Start and Application_End?

There is overridable OnStart but Boostrapper.Execute happens outside of that in Application_Start, for example.