Skip to content

cogensoft-uk/ApiLogger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

ApiLogger

A simple API logger for Magento 2 which hooks into the WebApi REST controller to logs all API requests, payloads and responses to a database table.

Logging can be turned on of off via configuration, the retention period can be set and filtering can be applied to restrict logging to specific endpoints.

To install:

  1. Copy the module source to app/code in your project root
  2. Run php/bin magento setup:upgrade
  3. Login to the Magento Backend and browse to Stores > Configuration > CoGenSoft Modules > ApiLogger
  4. Enable API Logging, decide on a log retention period (in days or leave blank to disable cleanup) and decide whether to add in the first part of any specific API endpoints that need logging, otherwise leave blank to log everything.
  5. Clean the configuration cache

About

A simple API logger for Magento 2

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages