Revision 62526
Added by Katerina Iatropoulou over 1 year ago
IndexUtils.java | ||
---|---|---|
2 | 2 |
|
3 | 3 |
import eu.dnetlib.data.claims.entity.Project; |
4 | 4 |
import eu.dnetlib.data.claims.entity.Result; |
5 |
import org.apache.log4j.Logger; |
|
5 |
import org.apache.logging.log4j.LogManager; |
|
6 |
import org.apache.logging.log4j.Logger; |
|
6 | 7 |
import org.json.simple.JSONArray; |
7 | 8 |
import org.json.simple.JSONObject; |
8 | 9 |
import sun.net.www.protocol.http.HttpURLConnection; |
... | ... | |
17 | 18 |
*/ |
18 | 19 |
public class IndexUtils { |
19 | 20 |
|
20 |
private static final Logger logger = Logger.getLogger(IndexUtils.class); |
|
21 |
private static final Logger logger = LogManager.getLogger(IndexUtils.class);
|
|
21 | 22 |
|
22 | 23 |
public static JSONObject createJSON(Result result, List<Project> projects, List<String> concepts) throws Exception { |
23 | 24 |
//id ?????? result.getOpenaireId(); |
Also available in: Unified diff
log4j2 integrated + uoa-global-parent