- Enable Requests Logging
- Debugger Customization
Apiato provides a simple and easy way to monitor and log all the HTTP requests coming to your application.
The request monitor can be very useful when testing and debugging your frontend Apps which consume your API. Especially when the frontend apps (Mobile, Web,...) are built by other developers who are far from you.
The requests monitoring is provided via the
This container is installed by default with an Apiato fresh installation.
APP_DEBUG to true in
.env file .
Log will be written to
This container works out of the box perfectly but if you want to change its configs or modify the codes you MUST follow these steps:
1- Copy the container from
AppSection (or any of your custom sections) of your project
2- Fix the namespaces
apiato/debugger-container dependency from project root composer.json
By default, everything is logged in the
debugger.log file, to change the default file go to
Debugger/Configs/debugger.php config file and set the file name:
Request monitoring will not run in testing environments, to enable it you need to manually edit the Middleware.