package distributed.test;


import distributed.update.IDistributedUpdate;
import distributed.update.IncrementalUpdate;
import org.apache.log4j.ConsoleAppender;
import org.apache.log4j.Layout;
import org.apache.log4j.Level;
import org.apache.log4j.Logger;
import org.apache.log4j.PatternLayout;

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author steffen
 */
public class UpdateTest {
    
    public static void main(String[] args) {
        Layout layout = new PatternLayout("%d{yyyy-MM-dd---HH-mm-ss-SSS} %5p %c: %m%n");
        Logger rootLogger = Logger.getRootLogger();
        rootLogger.setLevel(Level.DEBUG);
        rootLogger.addAppender(new ConsoleAppender(layout));
        
        IncrementalUpdate.UpdateServer us = new IncrementalUpdate.UpdateServer(4711);
        us.start();
        
        IncrementalUpdate.UpdateClient uc = new IncrementalUpdate.UpdateClient("127.0.0.1", 4711);
        uc.start();
    }
    
}

@@ -593,240 +593,48 @@
    L
-ayout layout = new PatternLayout(%22%25d%7Byyyy-MM-dd---HH-mm-ss-SSS%7D %255p %25c: %25m%25n%22);%0A        Logger rootLogger = Logger.getRootLogger();%0A        rootLogger.setLevel(Level.DEBUG);%0A        rootLogger.addAppender(new ConsoleAppender(layout)
+ogger rootLogger = Logger.getRootLogger(
 );%0A 

use log4j conf file