this.journalType = journalType;
}
protected Journal createJournal() throws IOException {
if( DEFAULT_JOURNAL_TYPE.equals(journalType) ) {
return new JournalImpl(directory);
}
if( HOWL_JOURNAL_TYPE.equals(journalType) ) {
try {
Configuration config = new Configuration();
config.setLogFileDir(directory.getCanonicalPath());