What do you want to do exactly? You can configure the server side to do anything that 
a client does. The server can fan out the log events it received to files, console, 
syslog, NY and even another SocketServer. Does that help? Ceki

At 13:36 13.03.2001 -0600, Michael Roytman wrote:
>Sorry Ceki,
>
>I have to correct myself. I didn't rewrite the SocketAppender,
>I was using SocketAppender in my test program to send the log
>records to the SocketServer.
>My question is how I can then have my client programs to connect
>to the server and receive the log records.
>Thanks.
>
>Michael
>
>> -----Original Message-----
>> From: Ceki Gülcü [mailto:[EMAIL PROTECTED]]
>> Sent: Tuesday, March 13, 2001 1:14 PM
>> To: LOG4J Developers Mailing List; [EMAIL PROTECTED]
>> Subject: Re: Newbie question: how to implement a Log Server
>> 
>> 
>> Michael,
>> 
>> There is already a SocketAppender included in the 
>> distribution. Why are you writing it again? Ceki
>> 
>> At 11:46 13.03.2001 -0600, Michael Roytman wrote:
>> >Hi,
>> >
>> >I've been working with Log4J since yesterday and this is my 
>> first post so, I
>> >guess, 
>> >I can qualify as a newbie. :)
>> >
>> >I am writing a Log Server which is supposed to collect log 
>> records from
>> >our java apps and pass them to client app(s).
>> >I have taken log4j sample of SocketServer and wrote a simple 
>> SocketAppender
>> >which emulates log records as if being sent from our java 
>> apps for testing
>> >purposes. 
>> >Everything seems to work just fine. 
>> >Now the question: how do I go about extending my 
>> SocketServer to register
>> >the log clients and forward the log records to them?
>> >Any code samples or RTFM pointers are very much appreciated.
>> >Thank you.
>> >
>> >Michael Roytman
>> >Software Developer
>> >Novarra, Inc.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to