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.3(1mo ago)118.0k—7.5%3[2 PRs](https://github.com/graycoreio/magento2-graphql-logger/pulls)MITPHPPHP &gt;=8.2CI passing

Since Jul 26Pushed 1w 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 yesterday

READMEChangelog (4)Dependencies (17)Versions (15)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)[![MageCheck Status](https://camo.githubusercontent.com/31e025d7dff30c7b8116dc3ade9622de0d6316f483f80f509fdf29f61059a5bf/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f67726179636f7265696f2f6d6167656e746f322d6772617068716c2d6c6f676765722f636865636b2d657874656e73696f6e2e79616d6c3f266c6162656c3d4d616765436865636b266c6162656c436f6c6f723d316131613161)](https://github.com/graycoreio/magento2-graphql-logger/actions/workflows/check-extension.yaml)[![MageCheck Supported Version](https://camo.githubusercontent.com/7e39a6d24d42596e6ddf7d6a99b93d5ef0bfd0fd1190cdf79d08eb7d9e1ba773/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f63757272656e746c795f737570706f727465642d616e793f6c6162656c3d4d616765436865636b253230537570706f72746564266c6162656c436f6c6f723d31613161316126636f6c6f723d303930633962)](https://camo.githubusercontent.com/7e39a6d24d42596e6ddf7d6a99b93d5ef0bfd0fd1190cdf79d08eb7d9e1ba773/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f63757272656e746c795f737570706f727465642d616e793f6c6162656c3d4d616765436865636b253230537570706f72746564266c6162656c436f6c6f723d31613161316126636f6c6f723d303930633962)

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

53

—

FairBetter than 96% of packages

Maintenance95

Actively maintained with recent releases

Popularity33

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 71% 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 ~347 days

Total

5

Last Release

46d ago

PHP version history (2 changes)v0.1.1PHP &gt;=7.4

v0.2.3PHP &gt;=8.2

### 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 (22 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (5 commits)")[![gray-bot](https://avatars.githubusercontent.com/u/120588553?v=4)](https://github.com/gray-bot "gray-bot (4 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.

1673.2M10](/packages/adyen-module-payment)[graycore/magento2-stdlogging

A Magento 2 module that changes all logging handlers to stdout

2587.9k](/packages/graycore-magento2-stdlogging)[mage-os/module-admin-activity-log

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

296.3k](/packages/mage-os-module-admin-activity-log)[fredden/magento2-module-javascript-error-reporting

A Magento 2 module which captures JavaScript errors for later review by website administrators

3139.8k](/packages/fredden-magento2-module-javascript-error-reporting)[myparcelnl/magento

A Magento 2 module that creates MyParcel labels

1860.2k](/packages/myparcelnl-magento)[graycore/magento2-graphql-introspection-cache

1017.3k](/packages/graycore-magento2-graphql-introspection-cache)

PHPackages © 2026

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