-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Mark,
On 1/30/20 4:08 PM, Mark Thomas wrote: > On 30/01/2020 21:00, timfox 123 wrote: >> Hello The server provides the localhost_access_log files with the >> following fields missing %{cookie} %{Referer} %u I am >> using: pattern="%v %h %l %u %t \"%r\" %>s %b \"%{Referer}i\" >> \"%{User-Agent}i\" \"%{cookie}i\"" /> >> >> I am running: tomcat 8.5.23 openjdk version "1.8.0_232" >> Redhat 7.7 We are using an internal proxy. Why do we have missing >> fields in the localhost_access_log ? > > Because they are not present in the request sent to Tomcat? +1 Many browsers are changing the way they handle Referer headers[1], and some are reconsidering the User-Agent string[2]. I'm not sure what you are expecting to get from "%{cookie}i", but if it's for a JSESSIONID cookie, then maybe there is no session (or it's not being represented by a cookie). - -chris [1] https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referrer-Polic y [2] https://www.zdnet.com/article/google-to-phase-out-user-agent-strings-in- chrome/ -----BEGIN PGP SIGNATURE----- Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/ iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAl40cesACgkQHPApP6U8 pFj3pRAAxjqt7KCwYnX9HcsVQ+eo2dCOr4xJzgv2Cr98y5yOkqvvBw96pbFaWmwt R8puXhhdTzzbJWdMOYeazpeiUinlKLwnO6h+jJmOMu8jA6s6Rs1JM7A369cOjBJG 5hX6MU16jppbam9uChsQC7vIEvSGYeNW5UVyuBiXZ+D3nfboUlYhL/jciwtss5YR ZjJ9SONHWNpAuxlCjAWf+oXJUlKfrKakACxDuVR+yADC+d/NNv71pQf5BrJCxD4p byBnALVjMFRTvA8Ww/O3uJR4j2XSMTYbAbbc1jvZRF3Al0PRgAjh/7xRkJ9xQnOf voP/44UWIDJvDY1SqOP74Gh8YJPMh0Z921zIXqt/RBolb5pCZRHbERsxRp/7ajg/ zcWmyH224XvvxmP/BW9gHy3cS3LNagg0xg7Ncmx8atv/xP5i1xLu3Dk8NY4cebz0 Pu8hIED8QCZ0dwIIfUDV0n1A4WwMX/JkLsNCQ0Pr6104l4ziuNMZLU+NMeMWN61i ynkmtwoxfMIKjyE8mgddf0aAAChZ4gd0Z7zh2pNM6Sufl7RpL6yZEZkNRAl6U6AS LFYLmMG3d4wyjs6EhZECy8pARajLFpqqEvS6uo0lCMAFgCAG5nh0/oJw8CJaYHK+ IUSf7y9+1He1oEqY0gPHxb61pKXSGlZhEIwiX7Y4XrYlGY8gq1A= =IPF+ -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org