psmith 2003/09/14 23:37:46
Modified: src/java/org/apache/log4j/net SocketHubReceiver.java
Log:
Exposed the setHost() method, ChainSaw needs this to be able
to create one to a remote host.
Revision Changes Path
1.6 +8 -0
jakarta-log4j/src/java/org/apache/log4j/net/SocketHubReceiver.java
Index: SocketHubReceiver.java
===================================================================
RCS file:
/home/cvs/jakarta-log4j/src/java/org/apache/log4j/net/SocketHubReceiver.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- SocketHubReceiver.java 3 Sep 2003 07:33:43 -0000 1.5
+++ SocketHubReceiver.java 15 Sep 2003 06:37:46 -0000 1.6
@@ -60,6 +60,14 @@
}
/**
+ * Configures the Host property, this will require activateOptions
+ * to be called for this to take effect.
+ * @param host
+ */
+ public void setHost(String host){
+ this.host = host;
+ }
+ /**
Set the remote host to connect to for logging events. */
public void setPort(String _host) {
host = _host;
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]