isDebug = true;
}
synchronized(lock) {
if (writer == null) {
writer = new LockFreeWriter("defaultGroup",chunkQueue);
writer.init(confLocalWriter);
ClientFinalizer clientFinalizer = new ClientFinalizer(writer);
Runtime.getRuntime().addShutdownHook(clientFinalizer);