RestApiLogger (optional)
https://github.com/magesuite/rest-api-logger
The module logs payload of rest api requests and their responses.
Â
Installation
This module is optional.
composer require "creativestyle/magesuite-rest-api-logger" ^1.0.0
Admin setting
The module can be configured in Stores -> Configuration -> Advanced -> System
Â
Rest API Payload Logger settings:
Field | Option | Comment |
---|---|---|
Rest API logging enabled | Yes/No  | If set to "Yes" module will log REST API payloads into database. |
Maximum Payload Length | Default: 65000 | Â |
Payload Placeholders | password:******* | New line separated list of placeholders. Example: |
Rest Response logging enabled | Yes/No | If set to "Yes" module will log REST endpoint response into database. |
Response Placeholders | Â | New line separated list of placeholders. Example: |
HTTP request methods to log | Â GET/POST/PUT/DELETEÂ | Â |
Rest endpoint to log | Â | New line separated list of endpoints which payloads will be logged to database. |
Rest endpoint to skip | Â | New line separated list of endpoints which payloads will be skipped from logging. |
Logging retention period | Â | How long (in days) logs should be kept |
Log table optimization enabled | Yes/No | If set to 'Yes' then log table will be optimized after cleanup. |
Â
In System -> Data Transfer -> Rest Api Logger
an admin user can find logged API requests:
Â
Backend
Documentation in progress
Frontend
There are no frontend functionalities in the module.