Hi,

I still couln't manage to make my logging server work. Is there nobody with
a hint for me?

Thanx in advance,
-- Till.

-----Original Message-----
From: Till Gartner [mailto:[EMAIL PROTECTED]]
Sent: Sonntag, 12. August 2001 15:05
To: Log4J User
Subject: Newbie Problems with SocketAppender


Hi there,

I tried to set up a logging server together with a logging client. The
client uses a SocketAppender, the server runs a SocketNode.

They seem to see each other and connect, but I don't get the SocketNode to
log anything on the server. I don't really understand which Hierarchy I
should use when creating the SocketNode. Here is how I tried it:

----- code in my looging server ---------------
Category LOG = Category.getRoot();
serverSocket = new ServerSocket (PORT);
socket = new Socket (InetAddress.getLocalHost(), PORT);
socketNode = new SocketNode (socket, LOG.getDefaultHierarchy());
socketNode.run();
----------------------------------------

As I read that some of you obviously manged to use the SocketAppender can
somebody help? Is there a help file I oversaw? All I found is the
documentation that comes along with Log4J. I went through the introductory
manual and the JavaDoc stuff but didn't find any example. Do you think there
is a need for writing such a document?

Any help is welcome!

Regards,
-- Till.


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


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

Reply via email to