costin      2002/10/30 14:21:06

  Modified:    jk/java/org/apache/jk/common ChannelSocket.java
  Log:
  Another log 'cleanup'.
  
  This happens quite frequently and is very natural - many
  apache servers are configured to restart themslef after a number
  of errors.
  
  Downgraded it to info and added a more informative message ( I hope
  it's more informative at least ) .
  
  Revision  Changes    Path
  1.24      +2 -2      
jakarta-tomcat-connectors/jk/java/org/apache/jk/common/ChannelSocket.java
  
  Index: ChannelSocket.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-tomcat-connectors/jk/java/org/apache/jk/common/ChannelSocket.java,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -u -r1.23 -r1.24
  --- ChannelSocket.java        9 Oct 2002 06:58:31 -0000       1.23
  +++ ChannelSocket.java        30 Oct 2002 22:21:05 -0000      1.24
  @@ -526,7 +526,7 @@
                   int status= this.receive( recv, ep );
                   if( status <= 0 ) {
                       if( status==-3)
  -                        log.warn( "server has closed the current connection (-1)" );
  +                        log.info( "server has been restarted or reset this 
connection" );
                       else 
                           log.warn("Closing ajp connection " + status );
                       break;
  @@ -543,7 +543,7 @@
               this.close( ep );
           } catch( Exception ex ) {
               if( ex.getMessage().indexOf( "Connection reset" ) >=0 ) {
  -                log.warn( "Server has closed connection");
  +                log.info( "Server has been restarted or reset this connection");
               } else {
                   log.error( "Error, closing connection", ex);
               }
  
  
  

--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@;jakarta.apache.org>

Reply via email to