This module allows you to analyze all the webapi rest done call toward your Magento.
This is a forked version from the following repository: https://github.com/ghostunicorns/module-webapi-logs.
It also contains changes from the following fork: https://github.com/magentix/module-webapi-logs.
As the original repository does not seems to be maintained anymore, we offer an improved and optimized version here.
Magento 2 Open Source or Commerce edition is required.
Run the following composer command:
composer require opengento/module-webapi-logger
Run the following magento command:
bin/magento setup:upgrade
If you are in production mode, do not forget to recompile and redeploy the static resources.
The configuration for this module is available in Stores > Configuration > System > Webapi Logs
.
Go to Reports > Webapi Logs > Show Logs
You can select an entry to see more details about the request and the response
If you disable the Secret Mode this module will logs everything passes in the webapi calls (tokens and passwords too!), then remember to clean logs by clicking the Delete All Logs
button:
It is now possible to log the webapi request and response to filesystem or any handler that follow the PSR Log.
You can register your handlers to Opengento\WebapiLogger\Logger
. The module use the debug
level to log the request and response.
Raise a new request to the issue tracker.
- GhostUnicorns - Original Work - www.ghostunicorns.com
- Contributors - Contributor -
- Opengento Community - Maintainer -
This project is licensed under the MIT License - see the LICENSE details.
That's all folks!