this is not right for log4j 1.2.8 (it is in 1.3) so how come there is a difference in what i am getting ? one machine shows as hostname and one as IP (under 1.2.8) thanks Shai
-----Original Message----- From: Scott Deboy [mailto:[EMAIL PROTECTED] Sent: Thursday, September 22, 2005 7:18 PM To: Log4J Users List Subject: RE: problems with chanisaw hostname I was wrong - it's set on the Chainsaw side in org.apache.log4j.net.SocketNode (used by SocketReceiver): String remoteInfo = socket.getInetAddress().getHostName() + ":" + socket.getPort(); So there is a lookup performed - see http://java.sun.com/j2se/1.4.2/docs/api/java/net/InetAddress.html#getHos tName() Scott -----Original Message----- From: Shai Simchi [mailto:[EMAIL PROTECTED] Sent: Thursday, September 22, 2005 8:41 AM To: Log4J Users List Subject: RE: problems with chanisaw hostname ok - and how do i configure that ? or where does log4j takes that name from ? Shai -----Original Message----- From: Scott Deboy [mailto:[EMAIL PROTECTED] Sent: Thursday, September 22, 2005 6:41 PM To: Log4J Users List Subject: RE: problems with chanisaw hostname Sending side is responsible for setting the host name.. -----Original Message----- From: Shai Simchi [mailto:[EMAIL PROTECTED] Sent: Thursday, September 22, 2005 8:30 AM To: log4j-user@logging.apache.org Subject: problems with chanisaw hostname Hi all ! i am using chainsaw. in the client i can see that for some machines i get the hostname as the machine name and for some other machines i get the hostname as the machines IP. I would like to get all machine names. is the sending side responsible for supplying the machine name/IP ? how do i control it (my log4j.xml configuration files are identical) ? please advise, thanks, Shai Simchi Invoke Solutions Ltd. +972-3-5756828 (ext. 206) +972-66-227746 (mobile) +972-3-5756829 (Fax) mailto:[EMAIL PROTECTED] www.invoke.com --------------------------------------------------------------------- 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] --------------------------------------------------------------------- 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]