Remove console only stack trace print from keywordsearch.KeywordSearch

This commit is contained in:
Richard Cordovano 2015-10-26 15:08:47 -04:00
parent 4afd626f43
commit a176ec3481

View File

@ -26,7 +26,6 @@ import java.util.logging.FileHandler;
import java.util.logging.Level; import java.util.logging.Level;
import java.util.logging.Logger; import java.util.logging.Logger;
import java.util.logging.SimpleFormatter; import java.util.logging.SimpleFormatter;
import org.openide.util.Exceptions;
import org.openide.util.NbBundle; import org.openide.util.NbBundle;
import org.sleuthkit.autopsy.casemodule.Case; import org.sleuthkit.autopsy.casemodule.Case;
import org.sleuthkit.autopsy.coreutils.MessageNotifyUtil; import org.sleuthkit.autopsy.coreutils.MessageNotifyUtil;
@ -76,7 +75,7 @@ public class KeywordSearch {
//do not forward to the parent autopsy logger //do not forward to the parent autopsy logger
TIKA_LOGGER.setUseParentHandlers(false); TIKA_LOGGER.setUseParentHandlers(false);
} catch (IOException | SecurityException ex) { } catch (IOException | SecurityException ex) {
Exceptions.printStackTrace(ex); logger.log(Level.SEVERE, "Error setting up tika logging", ex);
} }
} }