Revision 62526
Added by Katerina Iatropoulou over 1 year ago
IndexResultHandler.java | ||
---|---|---|
3 | 3 |
import eu.dnetlib.data.claims.entity.Result; |
4 | 4 |
import eu.dnetlib.data.claims.parser.OafParser; |
5 | 5 |
import eu.dnetlib.data.claims.utils.SearchUtils; |
6 |
import org.apache.log4j.Logger; |
|
6 |
import org.apache.logging.log4j.LogManager; |
|
7 |
import org.apache.logging.log4j.Logger; |
|
7 | 8 |
|
8 | 9 |
/** |
9 | 10 |
* Created by kiatrop on 8/2/2016. |
... | ... | |
11 | 12 |
public class IndexResultHandler { |
12 | 13 |
|
13 | 14 |
SearchUtils searchUtils; |
14 |
private Logger log = Logger.getLogger(this.getClass()); |
|
15 |
private Logger log = LogManager.getLogger(this.getClass());
|
|
15 | 16 |
|
16 | 17 |
private String fetchPublicationResult(String id) throws Exception { |
17 | 18 |
return searchUtils.fetchPublicationXmlFromIndex(id); |
Also available in: Unified diff
log4j2 integrated + uoa-global-parent