Geeks With Blogs
Adrian Hara Working through the .NET maze September 2008 Entries
Using log4net in a SharePoint 2007 (WSS or MOSS) workflow ... not straightforward. The problem is that many (all?) of log4net's classes are not serializable. This includes the implementations of the ILog interface, which means that if you plan on using log4net loggers in your SharePoint workflow code like so... private ILog logger = LogManager.GetLogger(typeof...'re out of luck. As soon as the workflow is dehydrated, you'll get a nice exception stating that type X (probably LogImpl) is not serializable. One solution to this problem is to recreate ......

Posted On Thursday, September 11, 2008 9:19 AM

Copyright © Adrian Hara | Powered by: