//Processor
TProcessor processor =
new ThrudocLoggingProcessor(new ThrudocHandler(docRoot));
Options opt = new Options();
opt.maxWorkerThreads = threadCount;
TPeekingTransportFactory peekFactory = new TPeekingTransportFactory(propertyName,"thrudoc_log");
//Server