tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject cvs commit: jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/net AprEndpoint.java
Date Tue, 03 May 2005 09:36:58 GMT
remm        2005/05/03 02:36:58

  Modified:    util/java/org/apache/tomcat/util/net/res
                        LocalStrings.properties
               util/java/org/apache/tomcat/util/net AprEndpoint.java
  Log:
  - Add missing logging.
  
  Revision  Changes    Path
  1.8       +1 -0      jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/net/res/LocalStrings.properties
  
  Index: LocalStrings.properties
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/net/res/LocalStrings.properties,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- LocalStrings.properties	24 Apr 2005 13:18:28 -0000	1.7
  +++ LocalStrings.properties	3 May 2005 09:36:58 -0000	1.8
  @@ -12,6 +12,7 @@
   endpoint.err.close=Caught exception trying to close socket
   endpoint.noProcessor=No Processors - worker thread dead!
   
  +endpoint.accept.fail=Socket accept failed
   endpoint.poll.limitedpollsize=Failed to create poller with specified size, uses 62 instead
   endpoint.poll.initfail=Poller creation failed
   endpoint.poll.fail=Critical poller failure, restarting poller
  
  
  
  1.24      +1 -2      jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/net/AprEndpoint.java
  
  Index: AprEndpoint.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/net/AprEndpoint.java,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -u -r1.23 -r1.24
  --- AprEndpoint.java	28 Apr 2005 12:29:51 -0000	1.23
  +++ AprEndpoint.java	3 May 2005 09:36:58 -0000	1.24
  @@ -686,8 +686,7 @@
                       // Hand this socket off to an appropriate processor
                       workerThread.assign(socket, pool);
                   } catch (Exception e) {
  -                    // FIXME: proper logging
  -                    e.printStackTrace();
  +                    log.error(sm.getString("endpoint.accept.fail"), e);
                   }
   
                   // The processor will recycle itself when it finishes
  
  
  

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


Mime
View raw message