diff --git a/source/de/anomic/plasma/plasmaParser.java b/source/de/anomic/plasma/plasmaParser.java index 447734183..b9fe062f4 100644 --- a/source/de/anomic/plasma/plasmaParser.java +++ b/source/de/anomic/plasma/plasmaParser.java @@ -79,6 +79,7 @@ import de.anomic.htmlFilter.htmlFilterContentScraper; import de.anomic.htmlFilter.htmlFilterOutputStream; import de.anomic.plasma.parser.Parser; import de.anomic.server.serverFileUtils; +import de.anomic.server.serverLog; import de.anomic.yacy.yacySeedUploader; public final class plasmaParser { @@ -351,11 +352,11 @@ public final class plasmaParser { // getting the current package name String plasmaParserPkgName = plasmaParser.class.getPackage().getName() + ".parser"; - System.out.println("INFO: Searching for additional content parsers in package " + plasmaParserPkgName); + serverLog.logInfo("PARSER","Searching for additional content parsers in package " + plasmaParserPkgName); // getting an uri to the parser subpackage String packageURI = plasmaParser.class.getResource("/"+plasmaParserPkgName.replace('.','/')).toString(); - System.out.println("INFO: Parser directory is " + packageURI); + serverLog.logDebug("PARSER", "Parser directory is " + packageURI); // open the parser directory File parserDir = new File(new URI(packageURI)); @@ -369,12 +370,12 @@ public final class plasmaParser { if (parserDirectories == null) return; for (int parserDirNr=0; parserDirNr< parserDirectories.length; parserDirNr++) { File currentDir = parserDirectories[parserDirNr]; - System.out.println("INFO: Searching in directory " + currentDir.toString()); + serverLog.logDebug("PARSER", "Searching in directory " + currentDir.toString()); String[] parserClasses = currentDir.list(parserFileNameFilter); if (parserClasses == null) continue; for (int parserNr=0; parserNr