Browse Source

fix #2118 change to debug log

Shinsuke Sugaya 6 years ago
parent
commit
4e79bdf559
1 changed files with 3 additions and 1 deletions
  1. 3 1
      src/main/java/org/codelibs/fess/util/InputStreamThread.java

+ 3 - 1
src/main/java/org/codelibs/fess/util/InputStreamThread.java

@@ -64,7 +64,9 @@ public class InputStreamThread extends Thread {
                 }
                 }
             } catch (final Exception e) {
             } catch (final Exception e) {
                 running = false;
                 running = false;
-                logger.error("Failed to process an input stream.", e);
+                if (logger.isDebugEnabled()) {
+                    logger.debug("Failed to process an input stream.", e);
+                }
             }
             }
         }
         }
     }
     }