Here you can find the source of sleepForIOCatchup()
public static void sleepForIOCatchup()
//package com.java2s; //License from project: Open Source License public class Main { public static void sleepForIOCatchup() { // Wait for I/O to catch up and close async appenders System.out.println("Waiting 10 seconds for I/O to catch up and properly close async appenders."); try {/*from w ww .j a va 2 s. co m*/ Thread.sleep(10000); } catch (InterruptedException ie) { System.err.println("Interrupted while waiting for I/O to catch up."); } } }