Revision 56594
Added by Claudio Atzori almost 5 years ago
DnetLogger.java | ||
---|---|---|
27 | 27 |
@PostConstruct |
28 | 28 |
public void init() { |
29 | 29 |
dao.init(name); |
30 |
Executors.newSingleThreadExecutor().submit(new Runnable() { |
|
31 |
@Override |
|
32 |
public void run() { |
|
33 |
dao.configureIndex(name, DnetLogConfigurationLoader.getIndexedPaths(indexConf)); |
|
34 |
} |
|
35 |
}); |
|
30 |
dao.configureIndex(name, DnetLogConfigurationLoader.getIndexedPaths(indexConf)); |
|
36 | 31 |
} |
37 | 32 |
|
38 | 33 |
public LogMessage newLogMessage(final DnetLogLevel level) { |
Also available in: Unified diff
investigate the application sudden shutdown: do not delegate wf_logs reindexing to a separated thread