Revision 7813
Added by ben leinfelder over 11 years ago
metacat-index/src/main/java/edu/ucsb/nceas/metacat/index/event/EventlogFactory.java | ||
---|---|---|
43 | 43 |
*/ |
44 | 44 |
public static IndexEventLog createIndexEventLog() throws ClassNotFoundException, InstantiationException, IllegalAccessException { |
45 | 45 |
if(eventLog == null) { |
46 |
String className = Settings.getConfiguration().getString("index.evenlog.classname"); |
|
46 |
String className = Settings.getConfiguration().getString("index.eventlog.classname");
|
|
47 | 47 |
Class<?> classObj = Class.forName(className); |
48 | 48 |
eventLog = (IndexEventLog)classObj.newInstance(); |
49 | 49 |
} |
lib/metacat.properties | ||
---|---|---|
594 | 594 |
#An interval to run the thread to regenerate solr index which failed before. |
595 | 595 |
#If the inerval is less than 0, the thread would not run. |
596 | 596 |
index.regenerate.interval=7200000 |
597 |
index.evenlog.classname=edu.ucsb.nceas.metacat.index.event.IndexEventFileLog |
|
597 |
index.eventlog.classname=edu.ucsb.nceas.metacat.index.event.IndexEventFileLog
|
|
598 | 598 |
index.hazelcast.indexqueue=hzIndexQueue |
599 | 599 |
|
600 | 600 |
############# SOLR Search Section ########################################### |
Also available in: Unified diff
correct spelling for index.eventlog.classname property