Log4net for .NET 4.0 & .NET 3.5/4.0 client

By DimitriC at January 19, 2012 08:26
Filed Under: General, log4net, tools & Utilities, Programming

Release 1.2.11 of log4net has these changes (source):

 

General:

 

log4net 1.2.11 is not only a bug fix release, it also adds support for Microsoft® .NET 4.0 as well as the client profiles of .NET 3.5 and .NET 4.0. … The binary distributions no longer contain assemblies built for the Compact Framework 1.0 or the Shared Source CLI - you can build those yourself using the source distribution.

NOTE: The signature of ILoggerFactory.CreateLogger has changed!

 

Some of the bug fixes:

- Visual Studio 2010 .NET 4.0 Application does not copy log4net lib to bin directory

- RemoteFileAppender Tests fail on Windows 7

- log4net doesn't log when running a .Net 4.0 Windows application built in Release mode

- EventLogAppender's ActivateOptions throws SecurityException on Vista/Win2k3 and later when not run as administrator

 

Some of the improvements:

 

- support .NET 2.0 connectionStrings configuration section

- IPAddressConverter improvement for .NET 2 or .NET 3

- Add Cc and Bcc support to SmtpAppender

 

Some new features:

 

- add the ability to roll files based on universal time (UTC).

- Support ASP.Net related PatternConverters to allow items from the HttpContext.Current.Session, Cache, Request, etc. to be captured.

- Build for Compact Framework 2.0

- Added ExceptionEvaluator

- Add TimeEvaluator

- New property ReplyTo address for the SmtpAppender required

- Buildable with VS 2008 and .NET FW 3.5

  • - Support .NET 4.0 including Client Profile

 

 

Previous articles:

 

- Logging: Log4Net Part I

- Logging: Log4Net Part II

- Logging: Log4Net Part III

- Logging: What/When to log?

- Logging: Log4Net Custom AdoNetAdapter and RollingFileAppender with XML

 

Links:

 

- Log4net web site

- Download Log4net

Comments (6) -

2/2/2012 5:01:51 PM #

Hello to all, it’s in fact a fastidious for me to pay a quick visit this site, it consists of important Information.

Joya Perin

2/4/2012 4:03:08 AM #

Who\'s got enough time and energy to look at electricity costs?
I could not believe the cost savings just by doing an electricity pricing comparison. Extraordinary

Fees

2/5/2012 4:02:46 AM #

Hey  I really enjoyed your post.  Social networking is great and i have found Facebook is the best for my business. I also have found Twitter to be a good to get traffic to my website. Video will be my next marketing tool.

Rob

2/18/2012 9:38:21 AM #

I would like to thank you for the efforts you have put in writing this website, . I`m hoping the same high-grade site post from you in the future also. Actually your creative writing abilities has encouraged me to get my own blog going now. Actually blogging is spreading its wings and growing fast. Your write up is a good example.

Traffic With Anik

2/27/2012 4:02:43 AM #

I am in agreement with you actually.. I personally suffered a very similar headache and made use of everything you had showed and yes it done the trick like magic

Seo Consultant

3/13/2012 11:33:19 PM #

A colleague recommended that I visit your blog. I'm happy that I'm here.

online slots for money United States

3/19/2012 9:01:17 PM #

hi, I wanted to comment on your post  because of its useful information and great read

software outsourcing United States

3/19/2012 9:02:46 PM #


Over one million phone deals compared every day, including the best play monthly, sim free, gifts, cash back and latest offer.

mobile shop United States

3/28/2012 2:05:09 AM #

Thanks for this wonderful post i have bookmarked it and will share
<a href=”http://www.contractdealers.co.uk</a>;

cheap mobiles United Kingdom

4/2/2012 9:59:31 AM #

Genuinely educative cheers, The technical knowledge you have, it is very good.I believe your current visitors may very well want considerably better written articles like this keep up the excellent hard work.

buy facebook fans United States

4/6/2012 3:43:31 AM #

how to increase sperm volume

how to increase ejaculate load United States

4/6/2012 6:53:01 AM #

You have good technical knowledge. This is the perfect blog for anyone who wants to know about this topic. You know so much its almost hard to argue with you.

getting twitter followers United States

4/9/2012 8:42:51 AM #

I agree with your conclusions and will eagerly look forward to your incoming updates. Just saying thanks will not just be enough, for the phenomenal clarity in your writing

Buy one way twitter followers United States

4/9/2012 1:59:35 PM #

Thanks a lot for sharing this useful and attractive information and I will be waiting for other interesting posts from you in the nearest future. keep it up.

Get one way twitter followers United States

Comments are closed