Welcome Guest, Not a member yet? Register   Sign In
Architecture for Logging RESTful Requests/Responses
#1

Does anyone have recommendations for solid architecture that would allow me to log all controller HTTP Requests/Responses?
Reply
#2

Hi,

Create a Filter to log all requests.

See https://codeigniter4.github.io/userguide...lters.html

You can use log_message() function to write to log file or use the DB whatever you want.
Reply
#3

Thanks for sharing, I'll come back to you if I encounter a problem.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB