You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@river.apache.org by pe...@apache.org on 2012/11/20 13:04:46 UTC

svn commit: r1411635 - /river/jtsk/trunk/src/com/sun/jini/reggie/RegistrarImpl.java

Author: peter_firmstone
Date: Tue Nov 20 12:04:45 2012
New Revision: 1411635

URL: http://svn.apache.org/viewvc?rev=1411635&view=rev
Log:
Detailed logging messages to assist with debugging

Modified:
    river/jtsk/trunk/src/com/sun/jini/reggie/RegistrarImpl.java

Modified: river/jtsk/trunk/src/com/sun/jini/reggie/RegistrarImpl.java
URL: http://svn.apache.org/viewvc/river/jtsk/trunk/src/com/sun/jini/reggie/RegistrarImpl.java?rev=1411635&r1=1411634&r2=1411635&view=diff
==============================================================================
--- river/jtsk/trunk/src/com/sun/jini/reggie/RegistrarImpl.java (original)
+++ river/jtsk/trunk/src/com/sun/jini/reggie/RegistrarImpl.java Tue Nov 20 12:04:45 2012
@@ -2562,6 +2562,7 @@ class RegistrarImpl implements Registrar
 	public UnicastThread(int port) throws IOException {
 	    super("unicast request");
 	    setDaemon(true);
+            logger.log(Level.FINEST, "Reggie ServerSocket configured port: {0}", port);
 	    if (port == 0) {
 		try {
 		    listen = serverSocketFactory.createServerSocket(Constants.discoveryPort);
@@ -2587,6 +2588,7 @@ class RegistrarImpl implements Registrar
                 }
 	    }
 	    this.port = listen.getLocalPort();
+            logger.log(Level.FINEST, "Reggie ServerSocket local port: {0}", port);
 	}
         
         private ServerSocket createServerSocket(ServerSocketFactory ssf, int port) throws IOException{