logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dan Sieroka" <sier...@platespin.com>
Subject RE: SocketTextAppender class
Date Wed, 23 May 2001 18:12:02 GMT
I attached the wrong file by accident.  The changes have been made.

Dan

-----Original Message-----
From: Anders Kristensen [mailto:akristensen@dynamicsoft.com]
Sent: Wednesday, May 23, 2001 1:17 PM
To: LOG4J Developers Mailing List
Subject: Re: SocketTextAppender class


I'm sure we can find a place for it. You should change the code to use
the new JavaBean style configuration, though. This means not using the
deprecated getOptionStrings and setOption, but rather have
setRemoteHost(String), setPort(int), setReconnectionDelay(int), and what
have you. This is how SocketAppender works now, only it has the
old-style methods for compatibility. They shouldn't be used in new code,
though.

Thanks,
Anders


Dan Sieroka wrote:
> 
> Hi, I've created a new class for sending text over a socket, rather
than
> a serialized object.  It is very similar to the the SocketAppender
> class.  How do I get this added to future log4j distributions?  (If
> anyone wants it)
> 
> Dan
> 
>  <<SocketTextAppender.java>>
> 
>
------------------------------------------------------------------------
>                                  Name: SocketTextAppender.java
>    SocketTextAppender.java       Type: Gnuclientw File (java/*)
>                              Encoding: base64
>                           Description: SocketTextAppender.java
> 
>
------------------------------------------------------------------------
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: log4j-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: log4j-dev-help@jakarta.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: log4j-dev-help@jakarta.apache.org


Mime
View raw message