How to implement Log4net for my Asp.net mvc application
I want to Implement Logging future using log4net for my asp.net mvc application..
Can any body has the Sample project so that I can take a look? and where do i need to find out the dll's for log4net?
Thanks
I Used this link to implement Loging for my application http://www.codeproject.com开发者_如何学C/KB/aspnet/log4net.aspx
How do I need to log this error to my database table? what do I need to write in my Class? to store the values in the table thanks
Get it from here.
Here are some examples.
Well to be honest you hardly made an effort if you couldn't find the DLLs, which are available here.
You will want to add the DLL as a reference in your project and then follow the directions here.
This guide might help you: http://haacked.com/archive/2005/03/07/ConfiguringLog4NetForWebApplications.aspx
You can download the source code and the DLLs from here: http://logging.apache.org/log4net/download.html
精彩评论