📊 State of Magento 2025

The Home for Magento 2 Excellence

Quality-tested Magento 2 modules. Explore. Evaluate. Elevate. #magento2

613 Modules
401 Ready
211 Need Help
🏆 Leaderboard
Stable v4.1.0

Webapi Logger for Magento 2

opengento/module-webapi-logger

Logs all web API REST calls made to your Magento instance. Provides detailed request and response information for analysis and debugging.

13,223
Downloads
Below average
4
GitHub Stars
Below average
6mo ago
Last Release
2
Open Issues
Build Passing
Ready to install

Build Tests

Composer Install
DI Compile
Templates

Code Quality

CS Coding Standard
1 error , 92 warnings
L1 PHPStan

Tested on Magento 2.4.8-p3

Recent Test History

Each release is tested against the latest Magento version at that time.

v4.1.0 on Magento 2.4.8-p3
Dec 28, 2025

Share This Module's Status

Webapi Logger for Magento 2 Magento compatibility status badge

README

Loaded from GitHub

Webapi Logger for Magento 2

Latest Stable Version License: MIT Packagist Packagist

This module allows you to analyze all the webapi rest done call toward your Magento.

Fork

This is a forked version from the following repository: https://github.com/ghostunicorns/module-webapi-logs.
It also contains changes from the following fork: https://github.com/magentix/module-webapi-logs.

As the original repository does not seems to be maintained anymore, we offer an improved and optimized version here.

Setup

Magento 2 Open Source or Commerce edition is required.

Composer installation

Run the following composer command:

composer require opengento/module-webapi-logger

Setup the module

Run the following magento command:

bin/magento setup:upgrade

If you are in production mode, do not forget to recompile and redeploy the static resources.

Features

Settings

The configuration for this module is available in Stores > Configuration > System > Webapi Logs.

Documentation

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:

It is now possible to log the webapi request and response to filesystem or any handler that follow the PSR Log.
You can register your handlers to Opengento\WebapiLogger\Logger. The module use the debug level to log the request and response.

Support

Raise a new request to the issue tracker.

Authors

  • GhostUnicorns - Original Work - www.ghostunicorns.com
  • Contributors - Contributor - GitHub contributors
  • Opengento Community - Maintainer - Twitter Follow

License

This project is licensed under the MIT License - see the LICENSE details.

That's all folks!

This content is fetched directly from the module's GitHub repository. We are not the authors of this content and take no responsibility for its accuracy, completeness, or any consequences arising from its use.