PHPackages                             eugene-petrov/magento2-dedicated-log-file - 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. eugene-petrov/magento2-dedicated-log-file

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

eugene-petrov/magento2-dedicated-log-file
=========================================

Magento 2 snippet: dedicated log file

00PHP

Since Oct 21Pushed 4y ago1 watchersCompare

[ Source](https://github.com/eugene-petrov/magento2-dedicated-log-file)[ Packagist](https://packagist.org/packages/eugene-petrov/magento2-dedicated-log-file)[ RSS](/packages/eugene-petrov-magento2-dedicated-log-file/feed)WikiDiscussions main Synced 3w ago

READMEChangelogDependenciesVersions (2)Used By (0)

[![M2 Coding Standard](https://github.com/eugene-petrov/magento2-dedicated-log-file/actions/workflows/coding-standard.yml/badge.svg?branch=main)](https://github.com/eugene-petrov/magento2-dedicated-log-file/actions/workflows/coding-standard.yml)[![M2 Mess Detector](https://github.com/eugene-petrov/magento2-dedicated-log-file/actions/workflows/mess-detector.yml/badge.svg?branch=main)](https://github.com/eugene-petrov/magento2-dedicated-log-file/actions/workflows/mess-detector.yml)[![M2 PHPStan](https://github.com/eugene-petrov/magento2-dedicated-log-file/actions/workflows/phpstan.yml/badge.svg?branch=main)](https://github.com/eugene-petrov/magento2-dedicated-log-file/actions/workflows/phpstan.yml)

***Snippet\_DedicatedLogFile***

**Description**

Example of how to start using a dedicated log file

**How to install**

- composer require magento2-dedicated-log-file
- php bin/magento module:enable Snippet\_DedicatedLogFile
- php bin/magento setup:upgrade
- php bin/magento clean:cache

**Example**

Go to: `http://{host.name}/snippet/log/`

and you will see the following form: [![form](./.readme/img.png)](./.readme/img.png)

Write you text and submit: [![form_submitted](./.readme/img_1.png)](./.readme/img_1.png)

Observe the content of the file: `var/log/snippet.log`

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity30

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/7125242?v=4)[Eugene](/maintainers/eugene-petrov)[@eugene-petrov](https://github.com/eugene-petrov)

---

Top Contributors

[![eugene-petrov](https://avatars.githubusercontent.com/u/7125242?v=4)](https://github.com/eugene-petrov "eugene-petrov (3 commits)")

### Embed Badge

![Health badge](/badges/eugene-petrov-magento2-dedicated-log-file/health.svg)

```
[![Health](https://phpackages.com/badges/eugene-petrov-magento2-dedicated-log-file/health.svg)](https://phpackages.com/packages/eugene-petrov-magento2-dedicated-log-file)
```

###  Alternatives

[psr/log

Common interface for logging libraries

10.4k1.2B11.5k](/packages/psr-log)[open-telemetry/api

API for OpenTelemetry PHP.

1941.5M275](/packages/open-telemetry-api)[open-telemetry/sdk

SDK for OpenTelemetry PHP.

2328.5M342](/packages/open-telemetry-sdk)

PHPackages © 2026

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