mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-18 15:33:09 +00:00
SOLR export, change bad IP addresses
This commit is contained in:
@@ -1528,6 +1528,10 @@ public class SolrLogger
|
||||
for(SolrDocument doc : docs) {
|
||||
String uid = doc.get("uid").toString();
|
||||
String ip = doc.get("ip").toString();
|
||||
if(ip.equals("::1")) {
|
||||
ip = "127.0.0.1";
|
||||
}
|
||||
|
||||
String id = doc.get("id").toString();
|
||||
String type = doc.get("type").toString();
|
||||
String time = doc.get("time").toString();
|
||||
|
Reference in New Issue
Block a user