Re: How can I extend AceessLogValue

2023-02-03 Thread Christopher Schultz
Hello, On 2/2/23 08:00, shallowinggg wrote: traceId has in request header, but it is encrypted, I need to parse it. %{xxx}i can get header, but encrypted value How about writing a Filter which takes the value from the header, decrypts it, and then puts the unencrypted value into a

Re: How can I extend AceessLogValue

2023-02-02 Thread shallowinggg
traceId has in request header, but it is encrypted, I need to parse it. %{xxx}i can get header, but encrypted value > > 在 2023年2月2日,16:33,Mark Thomas 写道: > > On 02/02/2023 07:57, shallowinggg wrote: >> I want to print skywalking traceId in tomcat access log, how to extend >>

Re: How can I extend AceessLogValue

2023-02-02 Thread Mark Thomas
On 02/02/2023 07:57, shallowinggg wrote: I want to print skywalking traceId in tomcat access log, how to extend AceessLogValue class or any other solutions?? Might be easier to put the traceId into a session or request attribute and then use the standard AccessLogValve functionality to log

How can I extend AceessLogValue

2023-02-01 Thread shallowinggg
I want to print skywalking traceId in tomcat access log, how to extend AceessLogValue class or any other solutions?? - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: