I don't know what your problem is but it's absolutely possible to use
SpcketAppender to log to a SocketServer on the local host.

Anders


John Brunton wrote:
> 
> Here is another newbie question:
> 
> Can one run the SocketServer class on the same machine (NT) as a client
> class trying to log to a SocketAppender?
> 
> I get the error: "Could not open ObjectInputStream..." that comes from
> SocketNode.
> 
> My log4j.properties file contains:
> 
> log4j.rootCategory=DEBUG, Root_Appender
> log4j.appender.Root_Appender=org.apache.log4j.net.SocketAppender
> log4j.appender.Root_Appender.RemoteHost="myserver"
> log4j.appender.Root_Appender.Port=8080
> log4j.appender.Root_Appender.LocationInfo=true
> 
> ---------------------------------------------------------------------
> 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