You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Robert Hicks <ro...@gmail.com> on 2022/05/26 15:18:32 UTC
Logging "location" header from the HTTP response
We would like to start logging the response location in Tomcat. I am not
sure where to look something like that up.
Thanks,
Bob
Re: Logging "location" header from the HTTP response
Posted by Robert Hicks <ro...@gmail.com>.
On Thu, May 26, 2022 at 11:37 AM Konstantin Kolinko <kn...@gmail.com>
wrote:
> чт, 26 мая 2022 г. в 18:19, Robert Hicks <ro...@gmail.com>:
> >
> > We would like to start logging the response location in Tomcat. I am not
> > sure where to look something like that up.
>
> You are not mentioning the version number, but from other threads I
> assume that it is 9.0.x.
>
> Here:
> https://tomcat.apache.org/tomcat-9.0-doc/config/valve.html#Access_Log_Valve
>
> Look for "%{xxx}o"
>
> Best regards,
> Konstantin Kolinko
>
Thanks! I see how to do it now.
Bob
Re: Logging "location" header from the HTTP response
Posted by Konstantin Kolinko <kn...@gmail.com>.
чт, 26 мая 2022 г. в 18:19, Robert Hicks <ro...@gmail.com>:
>
> We would like to start logging the response location in Tomcat. I am not
> sure where to look something like that up.
You are not mentioning the version number, but from other threads I
assume that it is 9.0.x.
Here:
https://tomcat.apache.org/tomcat-9.0-doc/config/valve.html#Access_Log_Valve
Look for "%{xxx}o"
Best regards,
Konstantin Kolinko
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org