Is log4net dead?

I am looking for a framework for logging, and it seems that log4net is or was very popular. The latest issue was over 2 years ago. It has not been updated for .net 3.0 or 3.5 or even visual studio 2008. Is there something more recent (another, then entlib) that I should consider?

+24
log4net
Nov 02 '09 at 21:38
source share
4 answers

Log4j (which was the basis for log4net) has not been updated for years. There are other alternatives from the same author (slf4j and logback) and others, but log4j is still used by many, many viable ones. This is not dead, it just got to the point that there was nothing more real for it. Nothing that justifies the job or interferes with compatibility. When this happens with a commercial project, the company must invent a whole different goal for the product or do something else, and the product really dies. In open source, actually.

By comparison, JUnit has not been built for many years. Then Java got annotations, JUnit got competition (TestNG), and it suddenly moves again. Now, the original developers may not be in each case, but then the project will be branched or adapted. For example, TestNG allowed a smooth migration path from JUnit.

So, in the bottom line, if it is popular and used, it will not die on you.

+12
Nov 02 '09 at 22:17
source share

log4net is a port of something written in Java. The port is more or less completed.

In addition, the port for .NET, as well as .Net 3.0 and .Net 3.5, is also built on top of the same runtime. Therefore, you can download log4net in Visual Studio 2008 and use it in a .Net 3.5 project if you want. Therefore, as I understand it, there is no real need to create a new version specifically for .Net 3.5 or Visual Studio 2008 at the moment. Visual Studio 2010 can, of course, change this (new runtime).

+11
Nov 02 '09 at 21:42
source share

I walk with my dead.

I have such an error (https://issues.apache.org/jira/browse/LOG4NET-132) that has been sitting for many years, means that the project is dead

Use NLog instead

http://nlog-project.org/

+4
Aug 15 '11 at 1:40
source share

The project seems to have come back to life, and version 1.2.11 was released:

http://stefan.samaflost.de/blog/en/Apache/Log4Net/working_on_the_1.2.11_release.html

+3
Oct 17 '11 at 10:09
source share



All Articles