PHPackages                             gtstudio/module-querylog - 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. gtstudio/module-querylog

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

gtstudio/module-querylog
========================

Show the slowest SQL queries on the storefront.

1.0.1(3y ago)25546MITPHPPHP ^7.2||^8.1

Since Apr 26Pushed 2y ago2 watchersCompare

[ Source](https://github.com/gabrielgts/magento2-query-log)[ Packagist](https://packagist.org/packages/gtstudio/module-querylog)[ RSS](/packages/gtstudio-module-querylog/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (1)Versions (3)Used By (0)

Module GTStudio Query Log
=========================

[](#module-gtstudio-query-log)

```
gtstudio/module-querylog

```

- [Main Functionalities](#markdown-header-main-functionalities)
- [Installation](#markdown-header-installation)
- [Specifications](#markdown-header-specifications)
- [Usage](#markdown-header-usage)

Main Functionalities
--------------------

[](#main-functionalities)

This module helps you to debug and find database query bottlenecks. You will be able to see the query execution time, stack trace through the front end of the store in real time.

[![](docs/images/module.gif)](docs/images/module.gif)

Installation
------------

[](#installation)

\* = in production please use the `--keep-generated` option

### Type 1: Zip file

[](#type-1-zip-file)

- Unzip the zip file in `app/code/Gtstudio`
- Enable the module by running `php bin/magento module:enable Gtstudio_QueryLog`
- Apply database updates by running `php bin/magento setup:upgrade`\*
- Flush the cache by running `php bin/magento cache:flush`

### Type 2: Composer

[](#type-2-composer)

- Install the module composer by running `composer require gtstudio/module-querylog`
- enable the module by running `php bin/magento module:enable Gtstudio_QueryLog`
- apply database updates by running `php bin/magento setup:upgrade`\*
- Flush the cache by running `php bin/magento cache:flush`

Specifications
--------------

[](#specifications)

- Console Command

    - dev:query-view:enable
- Console Command

    - dev:query-view:disable

Usage
-----

[](#usage)

To enable you just need to run the following command :

`bin/magento dev:query-view:enable --include-all-queries=1 --query-time-threshold=0.001 --include-call-stack=1`.

To disable you must run the following command :

`bin/magento dev:query-view:disable`.

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity54

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 ~0 days

Total

2

Last Release

1118d ago

### Community

Maintainers

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

---

Top Contributors

[![mage2pratik](https://avatars.githubusercontent.com/u/33807558?v=4)](https://github.com/mage2pratik "mage2pratik (1 commits)")

### Embed Badge

![Health badge](/badges/gtstudio-module-querylog/health.svg)

```
[![Health](https://phpackages.com/badges/gtstudio-module-querylog/health.svg)](https://phpackages.com/packages/gtstudio-module-querylog)
```

###  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)
