tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rainer Jung <rainer.j...@kippdata.de>
Subject Re: svn commit: r707645 - /tomcat/connectors/trunk/jk/native/common/jk_lb_worker.c
Date Fri, 24 Oct 2008 17:38:01 GMT
mturk@apache.org schrieb:
> Author: mturk
> Date: Fri Oct 24 07:35:32 2008
> New Revision: 707645
> 
> URL: http://svn.apache.org/viewvc?rev=707645&view=rev
> Log:
> Change logging attempts from ERROR to INFO. They can happen multiple times, so log as
ERROR only once
> 
> Modified:
>     tomcat/connectors/trunk/jk/native/common/jk_lb_worker.c
> 
> Modified: tomcat/connectors/trunk/jk/native/common/jk_lb_worker.c
> URL: http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/native/common/jk_lb_worker.c?rev=707645&r1=707644&r2=707645&view=diff
> ==============================================================================
> --- tomcat/connectors/trunk/jk/native/common/jk_lb_worker.c (original)
> +++ tomcat/connectors/trunk/jk/native/common/jk_lb_worker.c Fri Oct 24 07:35:32 2008
> @@ -1399,7 +1399,7 @@
>                      /* No workers in error state.
>                       * Somebody set them all to disabled?
>                       */
> -                    jk_log(l, JK_LOG_ERROR,
> +                    jk_log(l, JK_LOG_INFO,
>                             "All tomcat instances failed, no more workers "
>                             "left for recovery (attempt=%d, retry=%d)",
>                             attempt, retry);

...

> +    if (rc == JK_FALSE) {
> +        jk_log(l, JK_LOG_INFO,
> +               "All tomcat instances failed, no more workers left");
> +    }

Did you want to have that final one log as ERROR?

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


Mime
View raw message