[Mono-list] log4net port to Mono !

Gert Driesen gert.driesen@pandora.be
Mon, 3 Mar 2003 08:00:43 +0100


This is a multi-part message in MIME format.

------=_NextPart_000_007A_01C2E15A.FD3413B0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi,

We've finally managed to port log4net completely to Mono, we only had to =
add conditional compilation directives to a few classes and exclude one =
class (EventLogAppender, which logs events to the Windows event log).

If you don't know, log4net is a logging framework that was initialliy =
inspired by log4j. We have kept the framework as similar to the original =
log4j as possible while taking advantage of new features in the .NET =
runtime.

We have support for the following appenders (compare them with loggers) =
:

- ADONetAppender (log events to a database)
- ASPNetAppender (log events to ASP.NET tracing facility)
- ConsoleAppender (log events to the console)
- FileAppender (log events to a file)
- NetSendAppender (log events using a NET SEND message, only supported =
on Windows NT or higher)
- RemotingAppender (log events to a remote sink)
- RollingFileAppender (log events to a file, with support for rolling =
over on date or size)
- SMTPAppender (log events using SMTP)
- UdpAppender (log events using UDP datagrams)
- ....

We have log4net running internally on the following runtimes :

- MS .NET Framework 1.0
- MS .NET Framework 1.1
- MS .NET Compact Framework 1.0
- MS Shared Soure CLI (Rotor) 1.0
- Mono 0.21

We're currenly working on releasing a new beta which will contain the =
binaries and sources for all the runtime versions.  The current beta =
only supports .NET 1.0, so we've been really busy since the last beta =
:-)  You can download the current beta at =
http://www.sourceforge.net/projects/log4net.

However, we're still looking for people to run our Mono port through =
some tests on Linux. Is there anyone interested in testing log4net on =
Linux, pelase let me know and I'll send you the binaries and a sample =
application.

Of course, you can always get the sources from our CVS and build it =
yourself (using nant).

Thanks,

Gert


------=_NextPart_000_007A_01C2E15A.FD3413B0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.3757.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>We've finally managed to port log4net =
completely to=20
Mono, we only&nbsp;had to add conditional compilation directives to a =
few=20
classes and exclude one class (EventLogAppender, which logs events to =
the=20
Windows event log).</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>If you don't know, log4net is a logging =
framework=20
that was initialliy inspired by log4j. We have kept the framework as =
similar to=20
the original log4j as possible while taking advantage of new features in =
the=20
.NET runtime.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>We have support for the following =
appenders=20
(compare them with loggers) :</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>- ADONetAppender (log events to a=20
database)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>- ASPNetAppender (log events to ASP.NET =
tracing=20
facility)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>- ConsoleAppender (log events to the=20
console)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>- FileAppender (log events to a =
file)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>- NetSendAppender (log events using a =
NET SEND=20
message, only supported on Windows NT or higher)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>- RemotingAppender (log events to a =
remote=20
sink)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>- RollingFileAppender (log events to a =
file, with=20
support for rolling over on date or size)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>- SMTPAppender (log events using =
SMTP)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>- UdpAppender (log events using UDP=20
datagrams)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>- ....</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>We have log4net running internally on =
the following=20
runtimes&nbsp;:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>- MS .NET Framework 1.0</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>- MS .NET Framework 1.1</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>- MS .NET Compact Framework =
1.0</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>- MS Shared Soure CLI (Rotor) =
1.0</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>- Mono 0.21</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>We're currenly working on releasing a =
new beta=20
which will contain the binaries and sources for all the runtime =
versions.&nbsp;=20
The current beta only supports .NET 1.0, so we've been really busy since =
the=20
last beta :-)&nbsp; You can download the current beta at <A=20
href=3D"http://www.sourceforge.net/projects/log4net">http://www.sourcefor=
ge.net/projects/log4net</A>.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>However, we're still looking for people =
to&nbsp;run=20
our Mono port&nbsp;through some tests on Linux. Is there anyone =
interested in=20
testing log4net on Linux, pelase let me know and I'll send you the =
binaries and=20
a sample application.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Of course, you can always get the =
sources from our=20
CVS and build it yourself (using nant).</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thanks,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Gert</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_007A_01C2E15A.FD3413B0--