...
Code Block |
---|
composer require "creativestyle/magesuite-rest-api-logger" ^1.0.0 |
Admin
...
setting
The module can be configured in Stores -> Configuration -> Advanced -> System,
the following module’s settings can be found:
Index Invalidation Debugger Settings
...
Field
...
Optiona
...
...
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 |
| 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
Note |
---|
Documentation in progress |
...