Lines Matching defs:mfWriter
116 final MultifileTextWriter mfWriter = (MultifileTextWriter) currentWriter;
117 configure(mfWriter, config);
127 writer = newAsyncWriter(mfWriter, config);
134 writer = newAsyncWriter(mfWriter, config);
143 writer = mfWriter;
175 private void configure(MultifileTextWriter mfWriter, FileBasedAccessLogPublisherCfg config) throws DirectoryException
183 mfWriter.setNamingPolicy(fnPolicy);
184 mfWriter.setFilePermissions(perm);
185 mfWriter.setAppend(config.isAppend());
186 mfWriter.setAutoFlush(writerAutoFlush);
187 mfWriter.setBufferSize((int) config.getBufferSize());
188 mfWriter.setInterval(config.getTimeInterval());
190 mfWriter.removeAllRetentionPolicies();
191 mfWriter.removeAllRotationPolicies();
194 mfWriter.addRotationPolicy(DirectoryServer.getRotationPolicy(dn));
198 mfWriter.addRetentionPolicy(DirectoryServer.getRetentionPolicy(dn));
276 private AsynchronousTextWriter newAsyncWriter(MultifileTextWriter mfWriter, FileBasedAccessLogPublisherCfg config)
279 return new AsynchronousTextWriter(name, config.getQueueSize(), config.isAutoFlush(), mfWriter);