Java – Tomcat log request parameters

Is there any way to record request parameters in Tomcat?

What if so?

thank you.

Solution

Tomcat has a requestdumperfilter, which can be used to dump requests, including parameters

Alternatively, if you prefer to change the server configuration rather than webapp, there will be requestdumpervalve

Both are described in the Apache Tomcat configuration reference

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>