You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by co...@apache.org on 2003/03/04 08:18:59 UTC
cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_worker_jni.c
costin 2003/03/03 23:18:59
Modified: jk/native2/common jk_worker_jni.c
Log:
The destroy may be quite frequent - apache may start/stop a lot of childs.
Reduce verbosity
Revision Changes Path
1.37 +3 -2 jakarta-tomcat-connectors/jk/native2/common/jk_worker_jni.c
Index: jk_worker_jni.c
===================================================================
RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native2/common/jk_worker_jni.c,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -r1.36 -r1.37
--- jk_worker_jni.c 4 Feb 2003 07:39:58 -0000 1.36
+++ jk_worker_jni.c 4 Mar 2003 07:18:58 -0000 1.37
@@ -415,8 +415,9 @@
jniWorker = _this->worker_private;
if (jniWorker->hook < JK2_WORKER_HOOK_CLOSE) {
- env->l->jkLog(env, env->l, JK_LOG_INFO,
- "jni.destroy(), done...worker is not hooked for close\n");
+ if( bean->debug > 0 )
+ env->l->jkLog(env, env->l, JK_LOG_INFO,
+ "jni.destroy(), done...worker is not hooked for close\n");
return JK_OK;
}
if (jniWorker->jk_java_bridge_class == NULL ||
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org