Type
magento2-module
Logger for webapi REST requests.
magento2-module
OSL-3.0
None
None
None
None
None
A Magento module for logging all REST API requests as text files in var/log/webapi_rest/ folder.
Get the module via composer
composer require "vladflonta/magento2-webapi-log":"~0"
or via git
git clone https://github.com/vladflonta/magento2-webapi-log app/code/VladFlonta/WebApiLog
Enable module
bin/magento module:enable VladFlonta_WebApiLog
bin/magento setup:upgrade
The modules logs requests to subfolders in the var/log/webapi_rest
according to the REST route.
Example: var/log/webapi_rest/integration/admin/token/20181213_082324.log
Remark: Auth requests do not contain body / response to avoid a security breach.
This project is licensed under the Open Software License (OSL 3.0)