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(9mo ago)0140↓81.8%1MITPHP

Since Sep 13Pushed 9mo 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 3w ago

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

33

—

LowBetter than 72% of packages

Maintenance57

Moderate activity, may be stable

Popularity14

Limited adoption so far

Community8

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

286d 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

[graycore/magento2-stdlogging

A Magento 2 module that changes all logging handlers to stdout

2486.3k](/packages/graycore-magento2-stdlogging)[fredden/magento2-module-javascript-error-reporting

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

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

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

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

117.5k](/packages/graycore-magento2-graphql-logger)[loki/magento2-components

Core module for defining Alpine.js components with advanced AJAX features

1010.0k22](/packages/loki-magento2-components)

PHPackages © 2026

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