This project is read-only.

Logging in Asp.net MVC application using log4net

Aug 27, 2013 at 7:01 AM
Hi All,
Mine is a Asp.net MVC 4 application. I need to implement the following;
As per log level set in web.config file (eg. 1/2/3/4)
i have to log;
1 :
Methods start
Methods end
Application Warning
Application Exception

2:
Application Warnings
Application Exceptions

3:
Application Exceptions

4:
None

Further i need to achieve this using global filter(s).

kindly provide me some pointers

Thanks in advance
Aug 27, 2013 at 1:50 PM
Here's a pointer: go visit http://asp.net and ask your question there.

This is for discussions about the open source project MVC Forum.

Thanks,
Steen