Oops, I should have read the site more. However, the link is broken...
-----Original Message----- From: Scott Deboy [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 05, 2004 5:35 PM To: Log4J Users List Subject: RE: [Chainsaw] IP address for SocketReceiver is lost when editbox loses focus There is an ant script available here that will download source and build chainsaw: http://logging.apache.org/log4j/docs/chainsaw.html#Installation Right click on the 'clicking here' link and save to disk and run ant -f install-chainsaw.xml -----Original Message----- From: Jung, Eric [mailto:[EMAIL PROTECTED] Sent: Tue 10/5/2004 2:17 PM To: 'Log4J Users List' Cc: Subject: RE: [Chainsaw] IP address for SocketReceiver is lost when editbox loses focus This information would be most useful if printed the Chainsaw page, along with sample UDPReceiver and MulticastReceiver configurations. Saves one from having to look at the source code. Just my two cents. Thanks again, -eric -----Original Message----- From: Scott Deboy [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 05, 2004 5:07 PM To: Log4J Users List Subject: RE: [Chainsaw] IP address for SocketReceiver is lost when editbox loses focus Here is a sample appender config with both udp and multicast appenders. The appender's machine name is automatically added as a 'hostname' property to each logging event generated by udp or multicast appenders. You can set the 'application' param which will also be set as a property on logging events generated by these appenders. These properties are useful in identifying events from different sources in Chainsaw. <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE log4j:configuration SYSTEM "log4j.dtd"> <log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="true"> <appender name="UDP" class="org.apache.log4j.net.UDPAppender"> <param name="remoteHost" value="machine name or ip here"/> <param name="port" value="a port"/> <param name="application" value="some app name"/> <layout class="org.apache.log4j.xml.XMLLayout"> <param name="LocationInfo" value="true"/> </layout> </appender> <appender name="MULTICAST" class="org.apache.log4j.net.MulticastAppender"> <param name="remoteHost" value="machine name or ip here"/> <param name="port" value="a port"/> <param name="timeToLive" value="16"/> <param name="application" value="some app name"/> <layout class="org.apache.log4j.xml.XMLLayout"/> </appender> <root> <level value="debug"/> <appender-ref ref="MULTICAST"/> <appender-ref ref="UDP"/> </root> </log4j:configuration> -----Original Message----- From: Jung, Eric [mailto:[EMAIL PROTECTED] Sent: Tue 10/5/2004 12:13 PM To: 'Log4J Users List' Cc: Kapur, Rajneesh Subject: RE: [Chainsaw] IP address for SocketReceiver is lost when editbox loses focus Thanks, Scott. It wasn't clear to me that "name" is "hostname." Maybe you could answer another log4j/Chainsaw question, if you have a moment...do you know the difference between MulticastReceiver and UDPReceiver? I always thought UDP *is* a type of multicasting. I'm also looking for sample log4j.xml configurations for appenders corresponding to MulticastReceiver and UDPReceiver. Thank you again, Eric Jung -----Original Message----- From: Scott Deboy [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 05, 2004 2:42 PM To: Log4J Users List Subject: RE: [Chainsaw] IP address for SocketReceiver is lost when editbox loses focus You should just need to specify the 'name' and 'port' fields to get a SocketReceiver to work (unless you're getting ClassNotFoundExceptions - display the WebStart console and look for exceptions). socketDetails will show you the connected sockets, which don't exist when you first create it, and listener is deprecated. If you are getting classNotFoundExceptions, move the socket appender to the beginning of your list of appenders, and remove 'locationInfo=true' if it's set on the socketappender. Scott -----Original Message----- From: Jung, Eric [mailto:[EMAIL PROTECTED] Sent: Tue 10/5/2004 10:48 AM To: '[EMAIL PROTECTED]' Cc: Subject: [Chainsaw] IP address for SocketReceiver is lost when editbox loses focus Hi, When I create a new SocketReceiver in Chainsaw and try to configure the connectedSocketDetails or listener properties, anything I type in those fields is erased when the field loses focus. Actually, I can't type anything at all for connectedSocketDetails. I can type an IP or DNS name for the listener property, but as soon as I click "OK" to save what I've typed, the value is cleared. This used to work a few weeks ago -- must have been a prior release -- but now I can't get Chainsaw SocketReceivers to work at all. Any advice would be greatly appreciated. Thank you in advance, Eric Jung --------------------------------------------------------------------- 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]