PHPackages                             vgorla/newrelic-magento2-monolog-handler - 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. vgorla/newrelic-magento2-monolog-handler

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

vgorla/newrelic-magento2-monolog-handler
========================================

New Relic Magento 2 Monolog Handler

1.0.0(4y ago)24unlicensePHPPHP ^7.0

Since Sep 15Pushed 4y ago1 watchersCompare

[ Source](https://github.com/vikramgorla/newrelic-magento2-monolog-handler)[ Packagist](https://packagist.org/packages/vgorla/newrelic-magento2-monolog-handler)[ RSS](/packages/vgorla-newrelic-magento2-monolog-handler/feed)WikiDiscussions master Synced 1mo ago

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

New Relic Magento 2 Monolog Handler
===================================

[](#new-relic-magento-2-monolog-handler)

This is an extension of NewRelic PHP Monolog Enricher to Push Magento 2 Logs to New Relic Logs API.

This extension on its own just implements Handler Class, Processor Class is implemented by [vgorla/newrelic-magento2-monolog-processor](https://github.com/vikramgorla/newrelic-magento2-monolog-processor) which can be installed indepdently without Handler if you have any existing log forwarders to send logs to New Relic. Processor extension is infact added as a dependany to this module to exploit logs in context functionality of New Relic logs.

### Installation

[](#installation)

Using Composer :

```
$ composer require vgorla/newrelic-magento2-monolog-handler

```

Enable Distributed Tracing :

[Enable Distributed Tracing](https://docs.newrelic.com/docs/distributed-tracing/enable-configure/language-agents-enable-distributed-tracing/#php-config) in your New Relic Configuration file (normally newrelic.ini), enabling infinite tracing is not mandatory for in context logs to work.

```
newrelic.distributed_tracing_enabled = true
newrelic.span_events_enabled = true

```

Read more about New Relic logs in context here : [New Relic PHP: Configure logs in context](https://docs.newrelic.com/docs/logs/enable-log-management-new-relic/configure-logs-context/configure-logs-context-php/#php-monolog)

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity45

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

Unknown

Total

1

Last Release

1701d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/145e7f57a32715868d9590dc49a3b8dd516335d3ced1389c45d9056c37859da4?d=identicon)[vgorla](/maintainers/vgorla)

---

Top Contributors

[![vikramgorla](https://avatars.githubusercontent.com/u/5608153?v=4)](https://github.com/vikramgorla "vikramgorla (2 commits)")

### Embed Badge

![Health badge](/badges/vgorla-newrelic-magento2-monolog-handler/health.svg)

```
[![Health](https://phpackages.com/badges/vgorla-newrelic-magento2-monolog-handler/health.svg)](https://phpackages.com/packages/vgorla-newrelic-magento2-monolog-handler)
```

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