wrong logger fix

This commit is contained in:
Michael Peter Christen 2013-12-23 10:52:02 +01:00
parent 122d026910
commit 82c0525e71
3 changed files with 4 additions and 8 deletions

View File

@ -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 + "'");
}
}
}

View File

@ -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;
}

View File

@ -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.");