PHPackages                             praxigento/mage2\_ext\_logging - 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. praxigento/mage2\_ext\_logging

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

praxigento/mage2\_ext\_logging
==============================

Monolog Cascade integration to Magento 2.

0.1.3(8y ago)62.6k4MITPHPPHP &gt;=5.5

Since Feb 12Pushed 8y ago3 watchersCompare

[ Source](https://github.com/praxigento/mage2_ext_logging)[ Packagist](https://packagist.org/packages/praxigento/mage2_ext_logging)[ Docs](https://github.com/praxigento/mage2_ext_logging)[ RSS](/packages/praxigento-mage2-ext-logging/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (5)Dependencies (2)Versions (6)Used By (0)

Monolog Cascade integration to Magento 2
========================================

[](#monolog-cascade-integration-to-magento-2)

[![Build Status](https://camo.githubusercontent.com/05f5e25b91fd42af3b1d1946fecc4834874439342d1134cd8c71526806850b8f/68747470733a2f2f7472617669732d63692e6f72672f707261786967656e746f2f6d616765325f6578745f6c6f6767696e672e737667)](https://travis-ci.org/praxigento/mage2_ext_logging/)[![Coverage Status](https://camo.githubusercontent.com/3b9a326d2e57dbf80105236a1ecad72d94e71ebd9805175c08cdbfb807476f93/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f707261786967656e746f2f6d616765325f6578745f6c6f6767696e672f62616467652e7376673f6272616e63683d6d617374657226736572766963653d676974687562)](https://coveralls.io/github/praxigento/mage2_ext_logging?branch=master)

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

[](#installation)

Add to your project's `composer.json`:

```
  "require": {
    "praxigento/mage2_ext_logging": "~0.1"
  }

```

Usage
-----

[](#usage)

Default configuration file is in `var/log/logging.yaml` (see `src/etc/di.xml`).

Get logger with ObjectManager:

```
public function __construct(
    \Psr\Log\LoggerInterface $logger,
    ...
) {
    $this->_logger = $logger;
    ...
}

```

Then log your messages:

```
$this->_logger->info("'Get account' operation is called.");

```

Configuration sample
--------------------

[](#configuration-sample)

```
disable_existing_loggers: true
formatters:
    dashed:
        class: Monolog\Formatter\LineFormatter
        format: "%datetime%-%channel%.%level_name% - %message%\n"
handlers:
    debug:
        class: Monolog\Handler\StreamHandler
        level: DEBUG
        formatter: dashed
        stream: /.../var/log/cascade_debug.log
    system:
        class: Monolog\Handler\StreamHandler
        level: INFO
        formatter: dashed
        stream: /.../var/log/cascade_system.log
    exception:
        class: Monolog\Handler\StreamHandler
        level: EMERGENCY
        formatter: dashed
        stream: /.../log/cascade_exception.log
processors:
    web_processor:
        class: Monolog\Processor\WebProcessor
loggers:
    main:
        handlers: [debug, system, exception]
        processors: [web_processor]

```

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity52

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

Total

5

Last Release

3133d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/6985742?v=4)[CONSULTA SIA](/maintainers/praxigento)[@praxigento](https://github.com/praxigento)

---

Top Contributors

[![flancer64](https://avatars.githubusercontent.com/u/5052385?v=4)](https://github.com/flancer64 "flancer64 (61 commits)")

### Embed Badge

![Health badge](/badges/praxigento-mage2-ext-logging/health.svg)

```
[![Health](https://phpackages.com/badges/praxigento-mage2-ext-logging/health.svg)](https://phpackages.com/packages/praxigento-mage2-ext-logging)
```

###  Alternatives

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.2k532.1M2.5k](/packages/aws-aws-sdk-php)[symfony/framework-bundle

Provides a tight integration between Symfony components and the Symfony full-stack framework

3.6k246.0M11.1k](/packages/symfony-framework-bundle)[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.5M378](/packages/easycorp-easyadmin-bundle)[symfony/config

Helps you find, load, combine, autofill and validate configuration values of any kind

4.3k471.0M8.0k](/packages/symfony-config)[craftcms/cms

Craft CMS

3.6k3.6M2.9k](/packages/craftcms-cms)[tempest/framework

The PHP framework that gets out of your way.

2.2k31.1k12](/packages/tempest-framework)

PHPackages © 2026

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