private final boolean flush;
private final Path logFolder;
public BinaryFileWriter(final Configuration configuration) {
super(configuration);
this.logFolder = this.buildKiekerLogFolder(configuration.getStringProperty(CONFIG_PATH));
<BUG>final int maxEntriesInFile = configuration.getIntProperty(CONFIG_MAXENTRIESINFILE);

final String charsetName = configuration.getStringProperty(CONFIG_CHARSET_NAME, "UTF-8");</BUG>
final int bufferSize = this.configuration.getIntProperty(CONFIG_BUFFERSIZE);
final boolean shouldCompress = configuration.getBooleanProperty(CONFIG_SHOULD_COMPRESS);

private final boolean flush;
private final Path logFolder;
public BinaryFileWriter(final Configuration configuration) {
super(configuration);
this.logFolder = this.buildKiekerLogFolder(configuration.getStringProperty(CONFIG_PATH));
int maxEntriesPerFile = configuration.getIntProperty(CONFIG_MAXENTRIESINFILE);
int maxMegaBytesPerFile = configuration.getIntProperty(CONFIG_MAXLOGSIZE);
int maxAmountOfFiles = configuration.getIntProperty(CONFIG_MAXLOGFILES);
maxEntriesPerFile = (maxEntriesPerFile <= 0) ? Integer.MAX_VALUE : maxEntriesPerFile;
maxMegaBytesPerFile = (maxMegaBytesPerFile <= 0) ? Integer.MAX_VALUE : maxMegaBytesPerFile;
maxAmountOfFiles = (maxAmountOfFiles <= 0) ? Integer.MAX_VALUE : maxAmountOfFiles;
final String charsetName = configuration.getStringProperty(CONFIG_CHARSET_NAME, "UTF-8");
final int bufferSize = this.configuration.getIntProperty(CONFIG_BUFFERSIZE);
final boolean shouldCompress = configuration.getBooleanProperty(CONFIG_SHOULD_COMPRESS);
