From 0484c41a849af30913ec1c40a1fc66005c9d7dc6 Mon Sep 17 00:00:00 2001 From: theli Date: Mon, 23 May 2005 09:08:36 +0000 Subject: [PATCH] *) replacing system.xxx.println with logging statements git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@156 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- source/de/anomic/plasma/plasmaParser.java | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) 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