I am pleased to announce the new CRM 2011 Appender for log4net! This will allow developers to easily log messages from a custom process to a custom Log entity within your CRM 2011 organization. The advantage of this over the basic log4net file appender is that Administrators can view these messages from within the CRM UI instead of finding a file that is stored somewhere on the CRM server.
The CRM 2011 Appender is built on the log4net library so it comes with all the features of log4net such as filtering messages to log by level (debug, info, warning, error, fatal) and a variety of tokens to use in the message output.
The project on CodePlex comes with a sample Log entity that can be used to store log messages. It has a custom message attribute to store the actual message and a custom Level attribute to store the level of the message (debug, info, warning, error, fatal).
Note: To limit the amount of records created in a production environment, it is recommended to set the log4net Threshold to only log Warnings and Errors.
For more information about the CRM 2011 Appender and how to use it, check out the documentation on CodePlex - https://crm2011appender.codeplex.com/documentation
Follow the project for future updates and feedback or feature requests are greatly appreciated!