in troubleshooting/tools/log4j-tcp-app/src/main/java/com/mycompany/app/MultithreadApp.java [65:88]
public void run(){
int count = 0;
System.out.println("running logger instance " + this.ID + "...");
String padding = createPadding(this.log_size);
boolean iterate = true;
while (iterate) {
for (int i=0; i < this.iterations; i++) {
try {
Thread.sleep(this.logger_sleep_ms);
} catch (InterruptedException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
logger.debug("Thread " + this.ID + ": "+ i + " " + padding);
logger.info("Thread " + this.ID + ": "+ i + " " + padding);
}
count++;
System.out.println("logger instance " + this.ID + " completed set " + count + " of interations..");
iterate = this.infinite;
}
latch.countDown();
}