opengento / module-webapi-logger
opengento/module-webapi-logger
This module allows you to analyze all the webapi rest done call toward your Magento.
Webapi Logger for Magento 2
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 -
- Opengento Community - Maintainer -
License
This project is licensed under the MIT License - see the LICENSE details.
That's all folks!
No changelog yet
The vendor hasn't published a changelog. Tagged releases appear in the Versions tab.
| Version | Stability | QA Status | Compatibility | Released |
|---|---|---|---|---|
| 5.0.0 | stable | Fail | Magento 2.4.7-2.4.9 Details | 2026-02-16 20:50:52 |
| 4.2.0 | stable | Not tested | Not yet tested Details | 2026-02-15 16:05:41 |
| 4.1.0 | stable | Not tested | Not yet tested Details | 2025-08-12 12:47:33 |
| 4.0.1 | stable | Not tested | Not yet tested Details | 2024-09-05 10:06:33 |
| 4.0.0 | stable | Not tested | Not yet tested Details | 2024-07-22 19:53:57 |
| 3.0.1 | stable | Not tested | Not yet tested Details | 2024-03-21 13:41:28 |
| 3.0.0 | stable | Not tested | Not yet tested Details | 2024-02-26 14:02:43 |
| 2.0.2 | stable | Not tested | Not yet tested Details | 2023-12-06 16:11:29 |
| 2.0.1 | stable | Not tested | Not yet tested Details | 2023-11-29 14:09:58 |
| 2.0.0 | stable | Not tested | Not yet tested Details | 2023-11-23 08:46:55 |
| 1.0.0 | stable | Not tested | Not yet tested Details | 2023-10-30 21:48:52 |
Requires 4
| Package | Constraint |
|---|---|
| php | ^8.1 |
| psr/log | * |
| magento/framework | * |
| magento/module-webapi | * |
Requires-dev 3
| Package | Constraint |
|---|---|
| roave/security-advisories | dev-latest |
| magento/magento-coding-standard | ^5 |
| magento/marketplace-eqp | ^4.0 |
Suggests 1
| Package | Reason |
|---|---|
| opengento/logger | This module will sets a new Gelf logger handler for Magento2. |
Compatibility
Each Magento release line is installed on its supported PHP versions, then the module is built (DI compilation + static-content deploy) and its unit and integration suites are run. The matrix shows the lines and PHP versions the module is confirmed to install and run on. Code-quality results further down (phpstan, phpcs, …) are reported separately and never affect compatibility.
Code Quality
Advisory checks against the module's source. Static analysis runs once across the whole module; PHPStan re-runs per Magento + PHP version because resolvable symbols differ between releases. These NEVER affect the Compatibility badge — a phpcs finding can't make a module incompatible.
Static analysis
Coding standards (phpcs), mess detection (phpmd), copy-pasted code (cpd), PHP cross-version compatibility, composer.json validity. Each runs once for the whole module.
PHPStan
Type-checks the module's PHP against a real Magento install at the configured gate level. Re-runs per Magento and PHP version because resolvable symbols differ between releases. Cell → details modal.
Tests
Unit and integration suites, run for each applicable Magento and PHP version. A test failure speaks to the module's behaviour, not its compatibility with a Magento line, so it is reported here separately and never reddens the compatibility matrix.
Unit tests
| Magento | PHP 8.2 | PHP 8.3 | PHP 8.4 | PHP 8.5 |
|---|---|---|---|---|
| 2.4.7 | N/A | N/A | ||
| 2.4.8 | N/A | N/A | ||
| 2.4.9 | N/A | N/A |
Integration tests
| Magento | PHP 8.2 | PHP 8.3 | PHP 8.4 | PHP 8.5 |
|---|---|---|---|---|
| 2.4.7 | N/A | N/A | ||
| 2.4.8 | N/A | N/A | ||
| 2.4.9 | N/A | N/A |
Security
Security checks run directly against the module: an audit of its declared dependencies for known vulnerabilities (composer audit) and a scan of its source for malware and web-shell signatures. Each runs once. A malware detection fails the version outright.
More from opengento
View vendorThis module updates the store code path in url with the country code or a custom value.
This module allows to toggle server side rendered breadcrumbs for product pages.
This module enables you to log in without a password and without relying on a third-party service.
This extension sets new logger handlers for Magento2, such as Gelf or Slack and many others.
Turn an existing module into recurring revenue.
If you already maintain a Magento 2 module on GitHub or GitLab, listing it on Packagento takes about five minutes. We mirror your tags, handle distribution signing, and route paid licenses through Stripe Connect, so you can keep shipping the way you already do.