-- Tom Goetze
At 09:04 PM 8/5/2004, you wrote: >Anyone know why the SocketAppender doesn't have a "setter" for the >"address" member variable.
Address is the internal representation of the remoteHost variable.
Tom: But it only gets used once (to be checked for null). In the connect method, the parameter named address (not the local member variable) is actually used for work.
The 'address' emeber variable is used on several occasions. In org.apache.log4j.net.SocketAppender it gets used by:
SocketAppender(InetAddress, int) SocketAppender(String, int) activateOptions() append(LoggingEvent) connect(InetAddress, int) setRemoteHost(String)
and in org.apache.log4j.net.SocketAppender.Connector it gets used by the run() method in 4 places.
I am quite puzzled by your "gets used one" assertion.
-- Ceki G�lc�
For log4j documentation consider "The complete log4j manual"
ISBN: 2970036908 http://www.qos.ch/shop/products/clm_t.jsp
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
