On 26/01/2024 10:46, Manak Bisht wrote:
Hi, I am trying to extend the AccessLogValve to modify logging behaviour for certain URLs. However, I don't have access to the request object in the AccessLogValve API. So, I am left with regex matching on the CharArrayWriter message object. Is there a better way to do this?
It depends what you are trying to do - which you haven't explained. You have direct access to the request object in the invoke() method. Mark --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
