new marshaller instance ensures we use marshalling properties and correct validation...
[vamsas.git] / src / uk / ac / vamsas / client / picking / PickServer.java
index b3f54e5..3198427 100644 (file)
@@ -54,7 +54,7 @@ class PickServer extends Thread
                }\r
                catch (IOException e)\r
                {\r
-                       //logger.info("SERVER: " + e);\r
+                       logger.debug("SERVER: " + e);\r
                        return false;\r
                }\r
        }\r
@@ -66,7 +66,7 @@ class PickServer extends Thread
         */\r
        public void run()\r
        {\r
-               logger.info("SERVER: listening on " + PORT + " - SERVER");\r
+               logger.debug("SERVER: listening on " + PORT + " - SERVER");\r
                \r
                // Loop forever, accepting connectons from other clients\r
                // TODO: add in the ability to terminate the server if a VAMSAS session\r
@@ -86,12 +86,13 @@ class PickServer extends Thread
        \r
        void terminate()\r
        {\r
-               logger.info("Server shutting down...");\r
+               logger.debug("Server shutting down...");\r
                isAlive=false;\r
                try { serverSocket.close(); }\r
                catch (Exception e)\r
                {\r
                        logger.error(e);\r
                }\r
+    logger.debug("Server shut down complete.");\r
        }\r
 }
\ No newline at end of file