This module allows you to analyze all the webapi rest done call toward your magento.
This forked version only logs external requests in error.
- [a59ed06] Do not log API Ajax requests (from Magento frontend, like cart and checkout)
- [a59ed06] Do not keep requests in status 200 success
- [89aef44] Display error message in grid
- [ecf9a89] Better log display when request is XML
composer.json
{
"repositories": {
"ghostunicorns/module-webapi-logs": {
"type": "vcs",
"url": "https://github.com/magentix/module-webapi-logs.git"
}
}
}
composer require ghostunicorns/module-webapi-logs
-
Log-in your Magento backend
-
Go to
Stores > Configuration > System > Webapi Logs
and enable it
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:
Yes, of course you can contribute sending a pull request to propose improvements and fixes.