PHPackages                             graycore/magento2-graphql-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. graycore/magento2-graphql-logger

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

graycore/magento2-graphql-logger
================================

v0.2.2(2mo ago)106.6k↓28.9%3MITPHPPHP &gt;=7.4CI passing

Since Jul 26Pushed 2mo ago2 watchersCompare

[ Source](https://github.com/graycoreio/magento2-graphql-logger)[ Packagist](https://packagist.org/packages/graycore/magento2-graphql-logger)[ RSS](/packages/graycore-magento2-graphql-logger/feed)WikiDiscussions main Synced 1mo ago

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

Magento 2 GraphQL Logger
========================

[](#magento-2-graphql-logger)

[![Packagist Downloads](https://camo.githubusercontent.com/dca7114a1d130cb2b3048f2e03880c555d557baa47cc6d547e67279297c7c9db/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f67726179636f72652f6d6167656e746f322d6772617068716c2d6c6f676765723f636f6c6f723d626c7565)](https://packagist.org/packages/graycore/magento2-graphql-logger/stats)[![Packagist Version](https://camo.githubusercontent.com/d38a8033a00f9cbb505fc97f8d9facf496367faf74efa2270ff5dc745e4c7091/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f67726179636f72652f6d6167656e746f322d6772617068716c2d6c6f676765723f636f6c6f723d626c7565)](https://packagist.org/packages/graycore/magento2-graphql-logger)[![Packagist License](https://camo.githubusercontent.com/d9cdda50fcaa5a452390fef1e6229c50db98a223a9f873ddf9e2daa7ba255534/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f67726179636f72652f6d6167656e746f322d6772617068716c2d6c6f67676572)](https://github.com/graycoreio/magento2-graphql-logger/blob/main/LICENSE)[![Integration Test](https://github.com/graycoreio/magento2-graphql-logger/actions/workflows/integration.yaml/badge.svg)](https://github.com/graycoreio/magento2-graphql-logger/actions/workflows/integration.yaml)

This module logs unique GraphQl queries for development purposes.

Caution

If your frontend development teams are unscrupulous this package will generate a PII issue for you. We append full query body data into the logs. This means that developers who fail to use variables in their queries and instead embed them directly in the query will cause your logs to be pull of various kinds of data that you don't want to log (potentially PII and credit card data). This uses the same interface as New Relic (which means New Relic and any other configured loggers) will ALSO get this data. You should only install this in development environments. You have been warned.

Getting Started
---------------

[](#getting-started)

This module is intended to be installed with [composer](https://getcomposer.org/). From the root of your Magento 2 project:

1. Download the package

```
composer require graycore/magento2-graphql-logger
```

2. Enable the package

```
./bin/magento module:enable Graycore_GraphQlLogger
```

Usage
-----

[](#usage)

This module is disabled by default. It can be enabled through system configuration: Services -&gt; Magento Web API -&gt; GraphQl Logger -&gt; Enable Logger.

Logs can be found in `graycore_graphql_log` in the database.

###  Health Score

46

—

FairBetter than 93% of packages

Maintenance85

Actively maintained with recent releases

Popularity32

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 85.7% 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 ~438 days

Total

4

Last Release

76d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/cede4d8ff3624bd4e509cebd8a3da9abada797eb8e0737c6db26097fce82e67e?d=identicon)[damienwebdev](/maintainers/damienwebdev)

---

Top Contributors

[![damienwebdev](https://avatars.githubusercontent.com/u/9029654?v=4)](https://github.com/damienwebdev "damienwebdev (18 commits)")[![gray-bot](https://avatars.githubusercontent.com/u/120588553?v=4)](https://github.com/gray-bot "gray-bot (3 commits)")

---

Tags

developmentgraphqlloggingmagentomagento2

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/graycore-magento2-graphql-logger/health.svg)

```
[![Health](https://phpackages.com/badges/graycore-magento2-graphql-logger/health.svg)](https://phpackages.com/packages/graycore-magento2-graphql-logger)
```

###  Alternatives

[adyen/module-payment

Official Magento2 Plugin to connect to Payment Service Provider Adyen.

1663.0M10](/packages/adyen-module-payment)[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)

PHPackages © 2026

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