vladflonta / magento2-webapi-log

vladflonta/magento2-webapi-log

Logger for webapi REST requests.

magento2-module 2.4.6-2.4.9 Compatible Based on composer requirements only QA: failed OSL-3.0

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)

No changelog yet

The vendor hasn't published a changelog. Tagged releases appear in the Versions tab.

Versions
Version Stability QA Status Released
1.0.1 stable Fail 2022-12-10 11:25:15
0.1.1 stable Not tested 2022-12-10 11:14:47
1.0.0 stable Not tested 2022-11-28 20:40:45
0.1.0 stable Not tested 2022-11-28 19:51:43
0.0.1 stable Not tested 2018-04-12 21:26:33

Requires 2

Package Constraint
magento/framework ^103.0.4
magento/module-webapi >=100.0.2
QA results
Tool Status Findings Summary
PHPCS Fail 2 2 errors (gating threshold: error-severity=10, ruleset: Magento2)
PHPStan Fail 19 19 errors (level 4, ruleset: phpstan + bitexpert/phpstan-magento)
Cpd Pass 0
Security Pass 0
License
OSL-3.0
Authors
  • Vlad Flonta
Make it pay

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.