package es.tid.bdp.platform.cluster.server;

/**
 *
 * @author dmicol
 */
public class ClusterServerMain {
    public static void main(String[] args) {
        try {
            ClusterServer server = new ClusterServer();
            server.start();
        } catch (Exception ex) {
            System.exit(1);
        }
    }
    
    private ClusterServerMain() {
    }
}

@@ -38,16 +38,49 @@
 erver;%0A%0A
+import org.apache.log4j.Logger;%0A%0A
 /**%0A *%0A 
@@ -133,16 +133,98 @@
 rMain %7B%0A
+    private static final Logger LOG = Logger.getLogger(ClusterServer.class);%0A    %0A
     publ
@@ -354,24 +354,24 @@
 er.start();%0A
-
         %7D ca
@@ -387,24 +387,64 @@
 ption ex) %7B%0A
+            LOG.fatal(ex.getMessage());%0A
             

Add logging to the main file.