SharePoint and Log4Net

Posted by Nico on Stack Overflow See other posts from Stack Overflow or by Nico
Published on 2008-10-20T19:55:38Z Indexed on 2010/03/15 23:09 UTC
Read the original article Hit count: 302

Filed under:
|
|
|

I'm looking for best practices to integrate log4net to SharePoint for web request, feature activation and all timer stuff.

I have several subprojects in my farm, and I would like to have only one Log4Net.config file.

[Edit]
Not only I need to configure log4net for the web application, which is easy to do (I use global.asax, and a log4net.config file, so I can modify log settings withtout reloading the webapp), but I also need to log asynchronous events:

  • Event Handler (like ItemAdded)
  • Timer Jobs
  • ...

© Stack Overflow or respective owner

Related posts about sharepoint

Related posts about log4net