The Home for Magento 2 Excellence

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

1090 Modules
626 Ready
464 Need Help
🏆 Leaderboard
Stable v1.1.1

WebAPI Logger (REST) for Magento 2

zero1/magento2-webapi-log

Logs all REST Web API requests as text files under var/log/webapi_rest, organized by route, omitting auth request bodies to avoid leaking credentials.

133
Downloads
Below average
0
GitHub Stars
8mo ago
Last Release
0
Open Issues
Build Passing
Ready to install

Build Tests

Composer Install
DI Compile
Templates

Code Quality

CS Coding Standard
2 errors , 53 warnings
PHPStan Failed

Tested on Magento 2.4.9

Recent Test History

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

v1.1.1 on Magento 2.4.9
Jun 1, 2026

Share This Module's Status

WebAPI Logger (REST) for Magento 2 Magento compatibility status badge

README

Loaded from GitHub

Magento 2 WebAPI Logger (REST)

A Magento module for logging all REST API requests as text files in var/log/webapi_rest/ folder.

Installation steps

  1. Get the module via composer

    composer require "vladflonta/magento2-webapi-log":"~0"
    

    or via git

    git clone https://github.com/vladflonta/magento2-webapi-log app/code/VladFlonta/WebApiLog
    
  2. Enable module

bin/magento module:enable VladFlonta_WebApiLog
bin/magento setup:upgrade

Usage

The modules logs requests to subfolders in the var/log/webapi_rest according to the REST route.

Example: var/log/webapi_rest/integration/admin/token/20181213_082324.log

Remark: Auth requests do not contain body / response to avoid a security breach.

License

This project is licensed under the Open Software License (OSL 3.0)

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.