String policy,
Formatter formatter) throws IOException {
if (formatter == null) {
throw new IllegalArgumentException("formatter must not be null");
}
roller = new RollingFileManager(fileName, append, policy, this, getErrorManager());
flushAfterPublish = flush;
setFormatter(formatter);
setLevel(Level.ALL);
}