On 07/06/2022 12:24, rinilnath r wrote:
Thanks Mark, i corrected that by removing the > symbol

But my next problem is to log the session ID
I tried x-H(requestSessionId), but it is not the correct.
  Please help

That will only work with the ExtendedAccessLogValve and will record the session ID requested by the client, if any.

If you want the actual session ID then you want:

%S

Note the upper case 'S' rather than lower case 's'.

This will work with the standard AccessLogValve and the ExtendedAccessLogValve.

Mark



Thanks and Regards,
Rinilnath
Mobile#9786285451

On Tue, 7 Jun, 2022, 12:11 Mark Thomas, <ma...@apache.org> wrote:

On 07/06/2022 07:06, rinilnath r wrote:
Hi,

What's the meaning of this?
%>s

If that appears in the pattern attribute of an AccessLogValve then it is
an error and you'll see the following in the access log:

???>???s

Mark

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




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

Reply via email to