You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Henk Fictorie <he...@kpn.com> on 2006/11/13 10:32:23 UTC
mod_jk - logging the name of the worker
Hi,
Since recently the name of the worker isn't necessary the same as the
jvmRoute of the connected Tomcat instance. You can specify:
worker.foo.jvm_route=bar
In the mod_jk logging these two names are used both, which causes some
confusion. The requestlogging will used the jvm_route, while the error
messages will use the name of the worker. E.g.
JkRequestLogFormat "%R %r %s %T"
[Mon Nov 13 00:01:46 2006] bar GET /tomcat/page HTTP/1.1 200 0.511555
and
[Mon Nov 13 00:11:57 2006] [11751:0012] [info] service::jk_lb_worker.c
(906): service failed, worker foo is in error
state
Could in the upcoming mod_jk 1.2.20 release this be changed to using the
name of the worker also in the Request Logging.
regards Henk Fictorie
--
View this message in context: http://www.nabble.com/mod_jk---logging-the-name-of-the-worker-tf2621047.html#a7313837
Sent from the Tomcat - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: mod_jk - logging the name of the worker
Posted by Rainer Jung <ra...@kippdata.de>.
I'll have a look into it.
Henk Fictorie schrieb:
> Hi,
>
> Since recently the name of the worker isn't necessary the same as the
> jvmRoute of the connected Tomcat instance. You can specify:
>
> worker.foo.jvm_route=bar
>
> In the mod_jk logging these two names are used both, which causes some
> confusion. The requestlogging will used the jvm_route, while the error
> messages will use the name of the worker. E.g.
>
> JkRequestLogFormat "%R %r %s %T"
> [Mon Nov 13 00:01:46 2006] bar GET /tomcat/page HTTP/1.1 200 0.511555
>
> and
>
> [Mon Nov 13 00:11:57 2006] [11751:0012] [info] service::jk_lb_worker.c
> (906): service failed, worker foo is in error
> state
>
> Could in the upcoming mod_jk 1.2.20 release this be changed to using the
> name of the worker also in the Request Logging.
>
> regards Henk Fictorie
>
>
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org