How to record the information of Rest API interface

how can I get information about these interfaces when users call different API? For example, such information as when the userid, of call, this API, this api,call of call, which method, and so on. JAX-RS

used
Jun.30,2021

or if you open LoggingFilter with Jersey,. Specific methods can see this answer , if you are not using Jersey, to write a filter to do log is also very easy.


you can use log4j to print out the request log of the API, and the time of input and output parameters is clear at a glance

.
Menu