tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: tomcat and apache log entry correlation with mod_jk
Date Tue, 05 Apr 2011 19:07:48 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Anthony,

On 4/5/2011 2:21 PM, Anthony J. Biacco wrote:
> I'm using apache 2.0.17, tomcat 6.0.28 (and soon tomcat 7) with mod_jk
> 1.2.28 on CentOS 5.5
> I'd like to put a unique identifier in the tomcat request log and the
> apache request log so that I can match up log entries between the two.
> Is there any way to do this with mod_jk, maybe with JkEnvVar? And if so,
> what identifier or combination of can I use?

What have you tried so far?

If you want to use JkEnvVar, you'll need an environment variable to
pass. If you want to set an environment variable in httpd, check out
what options you have for setting environment variables to something unique.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk2baIQACgkQ9CaO5/Lv0PChKQCbBAos0bGcLd881hvBzUDoJ99o
lgMAoJMO9F/IWd/YeoDV4U5XJALeltOA
=tiOl
-----END PGP SIGNATURE-----

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


Mime
View raw message