Lines Matching defs:mfWriter
313 MultifileTextWriter mfWriter = (MultifileTextWriter)currentWriter;
314 configure(mfWriter, config);
324 writer = newAsyncWriter(mfWriter, config);
331 writer = newAsyncWriter(mfWriter, config);
340 writer = mfWriter;
364 private void configure(MultifileTextWriter mfWriter, FileBasedErrorLogPublisherCfg config) throws DirectoryException
372 mfWriter.setNamingPolicy(fnPolicy);
373 mfWriter.setFilePermissions(perm);
374 mfWriter.setAppend(config.isAppend());
375 mfWriter.setAutoFlush(writerAutoFlush);
376 mfWriter.setBufferSize((int) config.getBufferSize());
377 mfWriter.setInterval(config.getTimeInterval());
379 mfWriter.removeAllRetentionPolicies();
380 mfWriter.removeAllRotationPolicies();
383 mfWriter.addRotationPolicy(DirectoryServer.getRotationPolicy(dn));
387 mfWriter.addRetentionPolicy(DirectoryServer.getRetentionPolicy(dn));
403 private AsynchronousTextWriter newAsyncWriter(MultifileTextWriter mfWriter, FileBasedErrorLogPublisherCfg config)
406 return new AsynchronousTextWriter(name, config.getQueueSize(), config.isAutoFlush(), mfWriter);