tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject svn commit: r893421 - /tomcat/jk/trunk/native/common/jk_connect.c
Date Wed, 23 Dec 2009 07:57:32 GMT
Author: mturk
Date: Wed Dec 23 07:57:32 2009
New Revision: 893421

URL: http://svn.apache.org/viewvc?rev=893421&view=rev
Log:
Log the time spend in craceful shutdown

Modified:
    tomcat/jk/trunk/native/common/jk_connect.c

Modified: tomcat/jk/trunk/native/common/jk_connect.c
URL: http://svn.apache.org/viewvc/tomcat/jk/trunk/native/common/jk_connect.c?rev=893421&r1=893420&r2=893421&view=diff
==============================================================================
--- tomcat/jk/trunk/native/common/jk_connect.c (original)
+++ tomcat/jk/trunk/native/common/jk_connect.c Wed Dec 23 07:57:32 2009
@@ -759,8 +759,9 @@
 
     rc = jk_close_socket(sd, l);
     if (JK_IS_DEBUG_LEVEL(l))
-        jk_log(l, JK_LOG_DEBUG, "Shutdown socket %d and read %d lingering bytes",
-               sd, rd);
+        jk_log(l, JK_LOG_DEBUG,
+               "Shutdown socket %d and read %d lingering bytes in %d sec.",
+               sd, rd, (int)difftime(time(NULL), start));
     errno = save_errno;
     JK_TRACE_EXIT(l);
     return rc;



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


Mime
View raw message