The Home for Magento 2 Excellence

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

1090 Modules
647 Ready
443 Need Help
Vendors 🏆 Leaderboard
Stale v4.0.0

Magento 2 API logger

phpro/mage2-module-api-logger 71

Logs all Magento 2 REST API requests and responses to a file. Useful for debugging and monitoring API integrations.

59,605
Downloads
Below average
2
GitHub Stars
Below average
1y ago
Last Release
2
Open Issues
Build Passing
Ready to install

Build Tests

Composer Install
DI Compile
Templates

Code Quality

CS Coding Standard
12 warnings
L5 PHPStan

Release Discipline

Follows SemVer · 100% What is this?

Release history audited up to v4.0.0

Tested on Magento 2.4.9

Recent Test History

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

v4.0.0 on Magento 2.4.9
May 27, 2026
v4.0.0 on Magento 2.4.8-p4
Mar 21, 2026
v4.0.0 on Magento 2.4.8-p3
Dec 28, 2025

Share This Module's Status

Magento 2 API logger Magento compatibility status badge

README

Loaded from GitHub

Extension on Magento 2 API logger

This module extends the default Magento 2 Rest API logger and will log all requests. Both request and response will be logged. Useful for applications or services consuming the Magento Rest API.

Installation

composer require phpro/mage2-module-api-logger

How to use

By default, both requests and response will be written to api_logger.log The logging can be disabled by changing the log level.

Configuration

We can configure the log file under the store settings according the following path: system/api_log/log_level

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.