cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anto...@apache.org
Subject cvs commit: cocoon-2.1/src/java/org/apache/cocoon/servlet CocoonServlet.java
Date Sat, 07 Feb 2004 09:12:57 GMT
antonio     2004/02/07 01:12:57

  Modified:    src/java/org/apache/cocoon/servlet CocoonServlet.java
  Log:
  IOException while closing stream in Cocoon Servlet now is logged at DEBUG level
  See: http://marc.theaimsgroup.com/?t=107489042400004&r=1&w=2
  Reported by: Peter Hunsberger
  
  Revision  Changes    Path
  1.22      +6 -4      cocoon-2.1/src/java/org/apache/cocoon/servlet/CocoonServlet.java
  
  Index: CocoonServlet.java
  ===================================================================
  RCS file: /home/cvs//cocoon-2.1/src/java/org/apache/cocoon/servlet/CocoonServlet.java,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- CocoonServlet.java	2 Dec 2003 14:47:21 -0000	1.21
  +++ CocoonServlet.java	7 Feb 2004 09:12:57 -0000	1.22
  @@ -1210,7 +1210,11 @@
                   } else if (getLogger().isWarnEnabled()) {
                       getLogger().warn("SocketException while trying to close stream.");
                   }
  -
  +            // See: http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=107489037219505&w=2
  +            } catch (IOException ie) {
  +                if (getLogger().isDebugEnabled()) {
  +                    getLogger().debug("Cocoon got an IOException while trying to close
stream.", ie);
  +                }
               } catch (Exception e) {
                   getLogger().error("Cocoon got an Exception while trying to close stream.",
e);
               }
  @@ -1329,8 +1333,6 @@
           }
           return parentComponentManager;
       }
  -
  -
   
       /**
        * Creates the Cocoon object and handles exception handling.
  
  
  

Mime
View raw message