Hi,
 
I am trying to use a socketApprender which a SimpleSocketServer running on the same machine as my log4j client. What am doing wrong in the log4j.properties since I receive an UnknownownHostException from the client saying that my localhost host name is invalid. Here's my configuration entries:
 
log4j.appender.ARootSocket=org.apache.log4j.net.SocketAppender
log4j.appender.ARootSocket.RemoteHost="localhost"
log4j.appender.ARootSocket.Port=8080
log4j.appender.ARootSocket.LocationInfo=true

----------------------------------------------------------------------------
oqibo.com finance SA
Jean-Pierre Schnyder   Senior Software Architect   Voice  : +41 21 693.85.00
Science Park (BP)                                  Fax    : +41 21 693.85.01
Swiss Federal Institute of Technology              Site   : www.oqibo.com
1015 Lausanne - Switzerland                        E-mail : [EMAIL PROTECTED]
----------------------------------------------------------------------------
 

 

Reply via email to