Have you tried removing the quotes from "localhost"? Try localhost instead. Good luck
to oqibo.com, a promising local start up... Ceki
At 10:29 14.03.2001 +0100, Jean-Pierre Schnyder wrote:
>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]
>----------------------------------------------------------------------------
I hope to see you at my ApacheCon 2001 presentation
entitled "Log4j, A Logging Package for Java".
See http://ApacheCon.Com/2001/US/ for more details.
----
Ceki Gülcü Web: http://qos.ch
av. de Rumine 5 email: [EMAIL PROTECTED] (preferred)
CH-1005 Lausanne [EMAIL PROTECTED]
Switzerland Tel: ++41 21 351 23 15
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]