mirror of
https://github.com/yacy/yacy_search_server.git
synced 2024-09-19 00:01:41 +02:00
fix logger name
This commit is contained in:
parent
1d940e5a94
commit
7be1c7a05a
|
@ -117,7 +117,7 @@ public class ConfigLanguage_p {
|
|||
final String ext = Files.getFileExtension(langFile.getName());
|
||||
if (ext.equalsIgnoreCase("xlf") || ext.equalsIgnoreCase("xliff")) {
|
||||
TranslatorXliff tx = new TranslatorXliff();
|
||||
Map lng = TranslatorXliff.loadTranslationsListsFromXliff(langFile);
|
||||
Map<String,Map<String,String>> lng = TranslatorXliff.loadTranslationsListsFromXliff(langFile);
|
||||
langFile = new File(langPath, Files.getNameWithoutExtension(langFile.getName())+".lng");
|
||||
tx.saveAsLngFile(null, langFile, lng);
|
||||
}
|
||||
|
|
|
@ -32,6 +32,7 @@ import java.util.concurrent.ConcurrentHashMap;
|
|||
|
||||
import net.yacy.cora.sorting.ClusteredScoreMap;
|
||||
import net.yacy.cora.sorting.ScoreMap;
|
||||
import net.yacy.cora.util.ConcurrentLog;
|
||||
import net.yacy.kelondro.util.ReverseMapIterator;
|
||||
|
||||
public final class ResultURLs {
|
||||
|
@ -102,7 +103,7 @@ public final class ResultURLs {
|
|||
resultStack.put(urlhash, new InitExecEntry(initiatorHash, executorHash));
|
||||
}
|
||||
} catch (final Exception ex) {
|
||||
System.out.println("INTERNAL ERROR in newEntry/2: " + ex.toString());
|
||||
ConcurrentLog.warn("CRAWLER", "INTERNAL ERROR in newEntry/2: " + ex.toString());
|
||||
return;
|
||||
}
|
||||
try {
|
||||
|
@ -111,7 +112,7 @@ public final class ResultURLs {
|
|||
domains.inc(hostname);
|
||||
}
|
||||
} catch (final Exception ex) {
|
||||
System.out.println("INTERNAL ERROR in newEntry/3: " + ex.toString());
|
||||
ConcurrentLog.warn("CRAWLER", "INTERNAL ERROR in newEntry/3: " + ex.toString());
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -129,7 +129,7 @@ public class TranslatorXliff extends Translator {
|
|||
}
|
||||
}
|
||||
} catch (JAXBException je) {
|
||||
ConcurrentLog.warn("TRANSKATOR",je.getMessage());
|
||||
ConcurrentLog.warn("TRANSLATOR", je.getMessage());
|
||||
} catch (FileNotFoundException ex) {
|
||||
ConcurrentLog.warn("TRANSLATOR", "File not found: " + xliffFile.getAbsolutePath());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user