You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by mt...@apache.org on 2009/12/23 08:57:32 UTC

svn commit: r893421 - /tomcat/jk/trunk/native/common/jk_connect.c

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