mirror of
https://github.com/yacy/yacy_search_server.git
synced 2024-09-19 00:01:41 +02:00
wrong logger fix
This commit is contained in:
parent
122d026910
commit
82c0525e71
|
@ -24,9 +24,8 @@ import java.util.LinkedHashMap;
|
|||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
|
||||
import org.openjena.atlas.logging.Log;
|
||||
|
||||
import net.yacy.cora.util.CommonPattern;
|
||||
import net.yacy.cora.util.ConcurrentLog;
|
||||
import net.yacy.search.schema.CollectionSchema;
|
||||
|
||||
/**
|
||||
|
@ -91,7 +90,7 @@ public class Ranking {
|
|||
this.fieldBoosts.put(field, factor);
|
||||
} catch (IllegalArgumentException e) {
|
||||
// boostkey is unknown; ignore it but print warning
|
||||
Log.warn("Ranking", "unknwon boost key '" + boostkey + "'");
|
||||
ConcurrentLog.warn("Ranking", "unknwon boost key '" + boostkey + "'");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -38,8 +38,6 @@ import java.util.TreeMap;
|
|||
import java.util.concurrent.ConcurrentHashMap;
|
||||
import java.util.concurrent.ConcurrentMap;
|
||||
|
||||
import org.openjena.atlas.logging.Log;
|
||||
|
||||
import net.yacy.cora.document.encoding.ASCII;
|
||||
import net.yacy.cora.document.encoding.UTF8;
|
||||
import net.yacy.cora.order.Base64Order;
|
||||
|
@ -488,7 +486,7 @@ public class Balancer {
|
|||
}
|
||||
w = Latency.waitingRemaining(crawlEntry.url(), robots, profileEntry.getAgent());
|
||||
} catch (final IOException e1) {
|
||||
Log.warn("Balancer", e1.getMessage(), e1);
|
||||
ConcurrentLog.warn("Balancer", e1.getMessage(), e1);
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
|
@ -40,7 +40,6 @@ import java.util.regex.Pattern;
|
|||
|
||||
import org.apache.solr.common.SolrDocument;
|
||||
import org.apache.solr.common.SolrInputDocument;
|
||||
import org.openjena.atlas.logging.Log;
|
||||
|
||||
import net.yacy.cora.document.encoding.ASCII;
|
||||
import net.yacy.cora.document.id.AnchorURL;
|
||||
|
@ -367,7 +366,7 @@ public class WebgraphConfiguration extends SchemaConfiguration implements Serial
|
|||
webgraphConnector.add(sid);
|
||||
proccount++;
|
||||
} catch (Throwable e1) {
|
||||
Log.warn(WebgraphConfiguration.class, "postprocessing failed", e1);
|
||||
ConcurrentLog.warn(WebgraphConfiguration.class.getName(), "postprocessing failed", e1);
|
||||
}
|
||||
}
|
||||
ConcurrentLog.info("WebgraphConfiguration", "cleanup_processing: re-calculated " + proccount + " new documents, " + proccount_clickdepthchange + " clickdepth values changed.");
|
||||
|
|
Loading…
Reference in New Issue
Block a user