Skip to Content.
Sympa Menu

idok-commit - [idok-commit] idok commit r350 - trunk/java/ch/idok/dmsd/impl/extractor/microsoft

idok-commit AT lists.psi.ch

Subject: Commit emails of the iDok project

List archive

[idok-commit] idok commit r350 - trunk/java/ch/idok/dmsd/impl/extractor/microsoft


Chronological Thread 
  • From: "AFS account Stadler Hans Christian" <stadler_h AT savannah.psi.ch>
  • To: idok-commit AT lists.psi.ch
  • Subject: [idok-commit] idok commit r350 - trunk/java/ch/idok/dmsd/impl/extractor/microsoft
  • Date: Tue, 31 Mar 2009 10:11:58 +0200
  • List-archive: <https://lists.web.psi.ch/pipermail/idok-commit/>
  • List-id: Commit emails of the iDok project <idok-commit.lists.psi.ch>

Author: stadler_h
Date: Tue Mar 31 10:11:58 2009
New Revision: 350

Log:
made standard streamReaderTimeout the same as interruptDelay, logging
improvements

Modified:

trunk/java/ch/idok/dmsd/impl/extractor/microsoft/MSOfficeExtractorFactory.java
trunk/java/ch/idok/dmsd/impl/extractor/microsoft/OOProcess.java

Modified:
trunk/java/ch/idok/dmsd/impl/extractor/microsoft/MSOfficeExtractorFactory.java
==============================================================================
---
trunk/java/ch/idok/dmsd/impl/extractor/microsoft/MSOfficeExtractorFactory.java
(original)
+++
trunk/java/ch/idok/dmsd/impl/extractor/microsoft/MSOfficeExtractorFactory.java
Tue Mar 31 10:11:58 2009
@@ -116,11 +116,11 @@
/**
* @brief Timeout for idle input streams
*
- * Default 20s. Can be set explicitly using the
+ * Default is the same as for interruptDelay. Can be set explicitly
using the
* ch.idok.dmsd.impl.extractor.microsoft.streamReaderTimeout
* property.
*/
- long streamReaderTimeout = 20000;
+ long streamReaderTimeout = interruptDelay;

/**
* @brief Class implementing a thread for reading an error stream.
@@ -184,7 +184,7 @@
break;
}
if (System.currentTimeMillis() - now >
streamReaderTimeout) {
- logger.warning("See no point in idling any
longer");
+ logger.warning("Thread
"+Thread.currentThread().getName()+": see no point in idling any longer");
break;
}
}

Modified: trunk/java/ch/idok/dmsd/impl/extractor/microsoft/OOProcess.java
==============================================================================
--- trunk/java/ch/idok/dmsd/impl/extractor/microsoft/OOProcess.java
(original)
+++ trunk/java/ch/idok/dmsd/impl/extractor/microsoft/OOProcess.java Tue
Mar 31 10:11:58 2009
@@ -142,7 +142,7 @@
logger.addHandler(handler);
logger.setLevel(level);
logger.setUseParentHandlers(false);
- logger.finest("test1 //// loglevel="+args[0]);
+ logger.finest("loglevel = "+args[0]);

retval = 2;
OOProcess ooproc = new OOProcess();



  • [idok-commit] idok commit r350 - trunk/java/ch/idok/dmsd/impl/extractor/microsoft, AFS account Stadler Hans Christian, 03/31/2009

Archive powered by MHonArc 2.6.19.

Top of Page