Rob,

This looks great. A couple of things. 

I would rather not have to include the BSD licence as it does complicate
things. I will go back to the RFC
(http://www.faqs.org/rfcs/rfc3164.html) and rewrite those portions as
necessary. 

Does the native mono appender do anything that the SyslogAppender (Udp
based) cannot do?
Reading through the man page it looks like it is following exactly the
same protocol. Are there times when a call to syslog(3) will work but
there isn't a syslog deamon listening?

Looking at the syslog protocol it looks as though we should be including
the date, hostname and a tag in the content of the message. I know that
we can specify this in the layout, but it might be better to do it in
code because it has a fixed format.

Cheers,

Nicko

> -----Original Message-----
> From: Rob Lyon [mailto:[EMAIL PROTECTED] 
> Sent: 24 August 2004 21:30
> To: [email protected]
> Subject: RE: syslog log4net appender
> 
> This is a cleaned-up version that includes a native version 
> for Mono/Linux.
> 
> Rob
> 
> >>> [EMAIL PROTECTED] 8/24/04 11:11 AM >>>
> I attached an implementation of a syslog log4net appender.  
> Please review.  I added a BSD license header because I used 
> the defines from syslog.h.  Is that correct?  Please review 
> the copyright and license.
> 
> Thanks,
> Rob
> 
> >>> [EMAIL PROTECTED] 8/22/04 10:16 AM >>>
> Rob,
> 
> You may want to look at the log4j syslog implementation:
> 
> http://cvs.apache.org/viewcvs.cgi/logging-log4j/src/java/org/a
> pache/log4
> 
> 
> j/net/SyslogAppender.java?rev=1.18&view=auto
> 
> http://cvs.apache.org/viewcvs.cgi/logging-log4j/src/java/org/a
> pache/log4
> 
> 
> j/helpers/SyslogWriter.java?rev=1.5&view=auto
> 
> http://cvs.apache.org/viewcvs.cgi/logging-log4j/src/java/org/a
> pache/log4
> 
> 
> j/helpers/SyslogQuietWriter.java?rev=1.5&view=auto
> 
> Nicko 
> 
> > -----Original Message-----
> > From: Rob Lyon [mailto:[EMAIL PROTECTED]
> > Sent: 21 August 2004 16:06
> > To: [email protected]
> > Subject: syslog log4net appender
> > 
> > I need a syslog log4net appender.  Has anyone started an 
> > implementation?
> > Does anyone have any suggestions as I start an implementation?
> > 
> > Thanks,
> > Rob
> > 
> > 
> 

Reply via email to