PHPackages                             prodevtools/magento2-query-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. prodevtools/magento2-query-logger

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

prodevtools/magento2-query-logger
=================================

N/A

1.0.6(11mo ago)0166↓82.5%MITPHP

Since Sep 13Pushed 11mo ago1 watchersCompare

[ Source](https://github.com/AlexTs556/magento2-prodevtools-query-logger)[ Packagist](https://packagist.org/packages/prodevtools/magento2-query-logger)[ RSS](/packages/prodevtools-magento2-query-logger/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (2)Versions (7)Used By (0)

ProDevTools Magento2 Query Logger Module
========================================

[](#prodevtools-magento2-query-logger-module)

Overview
--------

[](#overview)

The **ProDevTools Query Logger** module for Magento 2 enhances the default query logging functionality by adding the ability to filter logged queries based on table names. This module allows you to have more control over which database queries are logged, making it easier to monitor and troubleshoot specific areas of your application.

Features
--------

[](#features)

- **Extended Query Logging**: Enhances default query logging capabilities.
- **Table Filtering**: Filters logged queries based on specified table names.
- **Custom Console Command**: Adds a new command to enable query logging with table filters.

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

[](#installation)

### 1. Install via `app/code` Directory

[](#1-install-via-appcode-directory)

1. Clone the repository:

    ```
    git clone https://github.com/AlexTs556/magento2-prodevtools-query-logger.git
    ```
2. Copy the module to your Magento installation:

    ```
    cp -R magento2-prodevtools-query-logger/ /app/code/ProDevTools/QueryLogger/
    ```
3. Enable the module:

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

### 2. Install via Composer

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

1. Run the following Composer command to install the module:

    ```
    composer require prodevtools/magento2-query-logger
    ```
2. Enable the module:

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

Usage
-----

[](#usage)

### Enabling Query Logging

[](#enabling-query-logging)

To enable query logging with table filters, use the custom console command provided by this module:

```
php bin/magento dev:query-log:enable --include-table-filters=table1,table2
```

Replace table1,table2 with a comma-separated list of table names you want to include in the query log.

Support
-------

[](#support)

If you encounter any issues or need support, please open an issue on the [GitHub repository](https://github.com/AlexTs556/magento2-prodevtools-query-logger/issues).

###  Health Score

31

—

LowBetter than 65% of packages

Maintenance52

Moderate activity, may be stable

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity44

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

Recently: every ~91 days

Total

6

Last Release

332d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/09d46f5fa4756c1bad341b3751495b628b50371b25a1bc3bf1bf2da59a8a26f8?d=identicon)[Alexts](/maintainers/Alexts)

---

Top Contributors

[![AlexTs556](https://avatars.githubusercontent.com/u/178156323?v=4)](https://github.com/AlexTs556 "AlexTs556 (9 commits)")

### Embed Badge

![Health badge](/badges/prodevtools-magento2-query-logger/health.svg)

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

###  Alternatives

[fastly/magento2

Fastly CDN Module for Magento 2.4.x

1564.5M1](/packages/fastly-magento2)[justbetter/magento2-sentry

Magento 2 Logger for Sentry

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

A Magento 2 module that changes all logging handlers to stdout

2589.7k](/packages/graycore-magento2-stdlogging)[myparcelnl/magento

A Magento 2 module that creates MyParcel labels

1861.2k](/packages/myparcelnl-magento)[mage-os/module-admin-activity-log

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

2911.6k1](/packages/mage-os-module-admin-activity-log)[mage-os/module-automatic-translation

Automatic AI content translation for Mage-OS.

3123.7k](/packages/mage-os-module-automatic-translation)

PHPackages © 2026

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