📊 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.0.0

Magento 2 API logger

phpro/mage2-module-api-logger

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

50,379
Downloads
Below average
2
GitHub Stars
Below average
7mo 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

Tested on Magento 2.4.8-p3

Recent Test History

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

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.