I created a patch that fixes this. My patch is long winded, so I'm going to see if there is a better fix that what I'm doing and submit it to the dev list.
If anyone is interested, please see the dev list. Jonathan Paul Cowherd Linux and Java Administrator Genscape, Inc. Email: [EMAIL PROTECTED] Office: (502) 583-3730 Mobile: (502) 314-0444 -----Original Message----- From: Jonathan Cowherd [mailto:[EMAIL PROTECTED]] Sent: Friday, January 03, 2003 3:31 PM To: '[EMAIL PROTECTED]' Subject: log4j SocketServer issue I'm on a internal network which doesn't resolve IPs to domain names. It looks as if org.apache.log4j.net.SocketServer will handle IPs for conf files like: java -cp log4j.jar org.apache.log4j.net.SocketServer 3000 log4j.properities conf and my remote config files are: conf/192.168.15.103.lcf I tried adding something to my /etc/hosts file and naming that IP win.int.network.net and adding the following to my conf directory: conf/win.int.network.net But I still get the following when I write a test message: [2003-01-03 16:20:06,692] Listening on port 3000 [2003-01-03 16:20:06,711] Waiting to accept a new client. [2003-01-03 16:20:19,002] Connected to client at /192.168.15.103 [2003-01-03 16:20:19,003] Locating configuration file for /192.168.15.103 [2003-01-03 16:20:19,004] Could not find config file [/home/jcowherd/log4j/conf/.lcf]. [2003-01-03 16:20:19,005] Could not find config file [/home/jcowherd/log4j/conf/generic.lcf]. Will use the default hierarchy. [2003-01-03 16:20:19,005] Starting new socket node. [2003-01-03 16:20:19,050] Waiting to accept a new client. [2003-01-03 15:19:07,763] Test message. [2003-01-03 16:20:19,067] Caught java.net.SocketException closing conneciton. What I've noticed is that the first file is ".lcf" as if it didn't get a name for the IP. Maybe it tries to get the name from the remote client. I'm using log4j-1.2.7 with JDK 1.4.1 on SuSE Linux 8.0 Pro. Thanks in advanced. Jonathan Paul Cowherd Linux and Java Administrator Genscape, Inc. Email: [EMAIL PROTECTED] Office: (502) 583-3730 Mobile: (502) 314-0444 -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>