mturk 2003/01/23 04:11:54 Modified: jk/native2/server/apache2 mod_jk2.c Log: Report sucesfull scoreboard child id status as INFO instead of ERROR. Revision Changes Path 1.57 +10 -10 jakarta-tomcat-connectors/jk/native2/server/apache2/mod_jk2.c Index: mod_jk2.c =================================================================== RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native2/server/apache2/mod_jk2.c,v retrieving revision 1.56 retrieving revision 1.57 diff -u -r1.56 -r1.57 --- mod_jk2.c 26 Oct 2002 14:47:33 -0000 1.56 +++ mod_jk2.c 23 Jan 2003 12:11:54 -0000 1.57 @@ -134,8 +134,8 @@ rc=workerEnv->config->setPropertyString( env, workerEnv->config, (char *)name, value ); if (rc!=JK_OK) { - ap_log_perror(APLOG_MARK, APLOG_NOTICE, 0, cmd->temp_pool, - "mod_jk2: Unrecognized option %s %s\n", name, value); + ap_log_perror(APLOG_MARK, APLOG_NOTICE, 0, cmd->temp_pool, + "mod_jk2: Unrecognized option %s %s\n", name, value); } return NULL; @@ -525,13 +525,13 @@ if (max_daemons_limit == 0) { workerEnv->childId = 0; env->l->jkLog(env, env->l, JK_LOG_INFO, - "jk2_init() Found child %d in scoreboard slot %d\n", - proc.pid, workerEnv->childId); + "jk2_init() Setting scoreboard slot 0 for child %d\n", + proc.pid); } else { env->l->jkLog(env, env->l, JK_LOG_ERROR, - "jk2_init() Can't find child %d in scoreboard\n", - proc.pid); + "jk2_init() Can't find child %d in none of the %d scoreboard slots\n", + proc.pid, max_daemons_limit); workerEnv->childId = -2; } } else { @@ -553,9 +553,9 @@ jk2_init( env, pconf, workerEnv, s ); - if( workerEnv->childId <= 0 ) - env->l->jkLog(env, env->l, JK_LOG_ERROR, "mod_jk child init %d %d\n", - workerEnv->was_initialized, workerEnv->childId ); + if (workerEnv->childId <= 0) + env->l->jkLog(env, env->l, JK_LOG_INFO, "mod_jk child %d initialized\n", + workerEnv->childId); } if (workerEnv->childGeneration) env->l->jkLog(env, env->l, JK_LOG_ERROR, "mod_jk child workerEnv in error state %d\n",
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>