PHPackages                             onecode/web-api-logger - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Logging &amp; Monitoring](/categories/logging)
4. /
5. onecode/web-api-logger

ActiveMagento2-module[Logging &amp; Monitoring](/categories/logging)

onecode/web-api-logger
======================

Track the api request per user

1.0.9(1mo ago)24.1k1MITPHPPHP &gt;=7.3.0

Since Jan 30Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/OnecodeGr/web-api-logger)[ Packagist](https://packagist.org/packages/onecode/web-api-logger)[ RSS](/packages/onecode-web-api-logger/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (4)Versions (11)Used By (0)

Monitor the magento 2 API REQUEST you are getting
=================================================

[](#monitor-the-magento-2-api-request-you-are-getting)

[![GitHub version](https://camo.githubusercontent.com/9b5df00ea9af4ee4c82450b3e2a15b6164b577500e72fec8526072b1784d0939/68747470733a2f2f62616467652e667572792e696f2f67682f4f6e65636f646547722532467765622d6170692d6c6f676765722e737667)](https://badge.fury.io/gh/OnecodeGr%2Fweb-api-logger)[![GitHub license](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](./LICENSE.md)[![PHP Version Require](https://camo.githubusercontent.com/0fa2c4df29f8108e682dc2c94834a0f73fc686c2569d859df8b6d7a203d84075/687474703a2f2f706f7365722e707567782e6f72672f6f6e65636f64652f7765622d6170692d6c6f676765722f726571756972652f706870)](https://packagist.org/packages/onecode/web-api-logger)[![Supported Magento Version](https://camo.githubusercontent.com/db5e7428359eab16cba2685130ecc228e73c36c4df6cf2b0a87ab84a99f8a187/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6d6167656e746f2d322e332e785f322e342e782d2532336435363332612e7376673f6c6f676f3d6d6167656e746f266c6f6e6743616368653d74727565)](https://github.com/magento/magento2)

This extension is tracking the API request you are getting in your magento installation by user

1. How to install Onecode\_WebApiLogger
---------------------------------------

[](#1-how-to-install-onecode_webapilogger)

There are 2 ways to install the application via composer(recommended) or Copy and paste

### 1.1 Install via composer

[](#11-install-via-composer)

```
composer require onecode/web-api-logger
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy
php bin/magento setup:di:compile

```

### 1.2 Copy and paste

[](#12-copy-and-paste)

If you don't want to install via composer, you can use this way.

- Download [the latest version here](https://github.com/OnecodeGr/web-api-logger/archive/master.zip)
- Extract `master.zip` file to `app/code/Onecode/WebApiLogger` ; You should create a folder path `app/code/Onecode/WebApiLogger` if not exist.
- Require Onecode\_Base before installation run the command `composer require onecode/base` or Download [the latest](https://github.com/OnecodeGr/base/archive/master.zip). Extract `master.zip` file to `app/code/Onecode/Base` ; You should create a folder path `app/code/Onecode/Base` if not exist.
- Go to Magento root folder and run upgrade command line to install `Onecode_WebApiLogger`:

```
php bin/magento module:enable Onecode_WebApiLogger Onecoode_Base
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy

```

Run compile if you have your application in Production Mode

```
php bin/magento setup:di:compile

```

2. Magento 2 WebApiLogger extension
-----------------------------------

[](#2-magento-2-webapilogger-extension)

### 2.1 Web API Logger

[](#21-web-api-logger)

In this guide we will show you how to configure the extension and use it.

[![Imgur](https://camo.githubusercontent.com/1a1644b1f277268c1939a239f36605509a9f3c823577b0b3accd753281f0a9ec/68747470733a2f2f692e696d6775722e636f6d2f33794f355058622e706e67)](https://camo.githubusercontent.com/1a1644b1f277268c1939a239f36605509a9f3c823577b0b3accd753281f0a9ec/68747470733a2f2f692e696d6775722e636f6d2f33794f355058622e706e67)

### 2.2 Web API Logger settings

[](#22--web-api-logger-settings)

Login to the **Magento Admin**, navigate to `Store > Configuration > Onecode Extensions > Web API Logger`

#### 2.2.1 General

[](#221-general)

[![Imgur](https://camo.githubusercontent.com/8ed18f911131a99a28c4d95199bd7d69c17834b061f947f32aee8cd4ec63eb6c/68747470733a2f2f692e696d6775722e636f6d2f43484469437a582e706e67)](https://camo.githubusercontent.com/8ed18f911131a99a28c4d95199bd7d69c17834b061f947f32aee8cd4ec63eb6c/68747470733a2f2f692e696d6775722e636f6d2f43484469437a582e706e67)

**Enabled**: Select `Yes` to activate the module and No to disable it.

[![Imgur](https://camo.githubusercontent.com/702f610ca6ce89c98ab7234e77a351d990c0e22f5962630d6eb74598493956a9/68747470733a2f2f692e696d6775722e636f6d2f3663754d6833682e706e67)](https://camo.githubusercontent.com/702f610ca6ce89c98ab7234e77a351d990c0e22f5962630d6eb74598493956a9/68747470733a2f2f692e696d6775722e636f6d2f3663754d6833682e706e67)

**Clean Up**: Set the days you want to clear the log by database. Set 0 to disable it.

[![Imgur](https://camo.githubusercontent.com/6e90c3bad696961c1161c35f94b39d6d9d7e54783a2f3601d7b51190161ace90/68747470733a2f2f692e696d6775722e636f6d2f735157716d75742e706e67)](https://camo.githubusercontent.com/6e90c3bad696961c1161c35f94b39d6d9d7e54783a2f3601d7b51190161ace90/68747470733a2f2f692e696d6775722e636f6d2f735157716d75742e706e67)

**Accept all HTTP Method**: Select `Yes` to save on logger all the request you are getting or `No` to select which request you want to monitor

[![Imgur](https://camo.githubusercontent.com/d2249fb8cae5b54eeb5f79474940b25fcb1c6d0dd5c0e5ade0543606cf783a2d/68747470733a2f2f692e696d6775722e636f6d2f647645436f72542e706e67)](https://camo.githubusercontent.com/d2249fb8cae5b54eeb5f79474940b25fcb1c6d0dd5c0e5ade0543606cf783a2d/68747470733a2f2f692e696d6775722e636f6d2f647645436f72542e706e67)

**Select HTTP Methods**: Select which API methods do you want to monitor.

[![Imgur](https://camo.githubusercontent.com/bb857cf30163895b6131ba224d7ce32bbe381da95df3c2d4df574fc9ac457fc9/68747470733a2f2f692e696d6775722e636f6d2f4b7375555854652e706e67)](https://camo.githubusercontent.com/bb857cf30163895b6131ba224d7ce32bbe381da95df3c2d4df574fc9ac457fc9/68747470733a2f2f692e696d6775722e636f6d2f4b7375555854652e706e67)

**Select user you want to track**: Select which users request do you want to monitor

[![Imgur](https://camo.githubusercontent.com/b006ba064411ce504eb7b4322c2b3115d07de2e99656f1a80c97c0a6805db3fd/68747470733a2f2f692e696d6775722e636f6d2f754574677473492e706e67)](https://camo.githubusercontent.com/b006ba064411ce504eb7b4322c2b3115d07de2e99656f1a80c97c0a6805db3fd/68747470733a2f2f692e696d6775722e636f6d2f754574677473492e706e67)

###  Health Score

46

—

FairBetter than 93% of packages

Maintenance89

Actively maintained with recent releases

Popularity25

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~168 days

Total

10

Last Release

55d ago

PHP version history (4 changes)1.0.0PHP ~7.3.0||~7.4.0

1.0.1PHP ~7.3.0||~7.4.0||~8.0||~8.1

1.0.6PHP ~7.3.0||~7.4.0||~8.0||~8.1||~8.2

1.0.7PHP &gt;=7.3.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/625d89fbdb862880e7d85b641c9e066f7db625dd094ecfdae252776a46f6698e?d=identicon)[spyrmp](/maintainers/spyrmp)

---

Top Contributors

[![spyrmp](https://avatars.githubusercontent.com/u/4165165?v=4)](https://github.com/spyrmp "spyrmp (28 commits)")

---

Tags

magentomagento2magento2-extensionmagento2-module

### Embed Badge

![Health badge](/badges/onecode-web-api-logger/health.svg)

```
[![Health](https://phpackages.com/badges/onecode-web-api-logger/health.svg)](https://phpackages.com/packages/onecode-web-api-logger)
```

###  Alternatives

[justbetter/magento2-sentry

Magento 2 Logger for Sentry

1851.5M3](/packages/justbetter-magento2-sentry)[graycore/magento2-stdlogging

A Magento 2 module that changes all logging handlers to stdout

2382.6k](/packages/graycore-magento2-stdlogging)[itonomy/module-admin-activity

A continuation of The Admin Activity extension by KiwiCommerce. This extension makes it easy to track all admin activity and revert the modification.

1270.4k](/packages/itonomy-module-admin-activity)[ampersand/magento2-log-correlation-id

Magento 2 correlation id for requests and logs

279.9k](/packages/ampersand-magento2-log-correlation-id)[mage-os/module-admin-activity-log

The Admin Activity extension makes it easy to track all admin activity with comprehensive audit logging.

261.4k](/packages/mage-os-module-admin-activity-log)[graycore/magento2-graphql-logger

106.6k](/packages/graycore-magento2-graphql-logger)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
