Please post your entire xml config file contents

Scott

-----Original Message-----
From:   Currimbhoy Shahyan [mailto:[EMAIL PROTECTED]
Sent:   Tue 11/23/2004 2:36 PM
To:     'Log4J Users List'
Cc:     
Subject:        Getting SocketException

Hi,
 
I have just started looking into Chainsaw however I am having some trouble
getting it configured.
I have added the following code in my log4j properties file and have added
the corresponding receiver in Chainsaw:
<!-- Chainsaw Client -->

<appender name= "CHAINSAW_CLIENT" class=
"org.apache.log4j.net.SocketAppender" >

<param name= "RemoteHost" value= "localhost"/>

<param name= "Port" value= "4445" />

</appender > 

When I try to perform a simple logging (logger.info("Sample info message")),
it turns up in the console but in Chainsaw, I get 

Level     INFO

Logger    org.apache.log4j.net.SocketNode

Message    Caught java.net.SocketException closing connection

Can anyone tell me what the problem is. Do I need to configure something
else?
Also, how are the other Chainsaw fields set (e.g. Thread..which always seems
to be Thread-7)?
 
Thanks in advance,
Shahyan.

 



-------------------------------------------------------------------------------
This message and any included attachments are from Siemens Medical Solutions 
USA, Inc. and are intended only for the addressee(s).  
The information contained herein may include trade secrets or privileged or 
otherwise confidential information.  Unauthorized review, forwarding, printing, 
copying, distributing, or using such information is strictly prohibited and may 
be unlawful.  If you received this message in error, or have reason to believe 
you are not authorized to receive it, please promptly delete this message and 
notify the sender by e-mail with a copy to [EMAIL PROTECTED] 

Thank you



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

Reply via email to