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

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e60c5f-5a925.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e60c5f-5a925.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?