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

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

vgorla/newrelic-magento2-monolog-processor
==========================================

New Relic Magento 2 Monolog Processor

1.0.0(4y ago)15191unlicensePHPPHP ^7.0

Since Sep 14Pushed 4y ago1 watchersCompare

[ Source](https://github.com/vikramgorla/newrelic-magento2-monolog-processor)[ Packagist](https://packagist.org/packages/vgorla/newrelic-magento2-monolog-processor)[ RSS](/packages/vgorla-newrelic-magento2-monolog-processor/feed)WikiDiscussions main Synced 2d ago

READMEChangelogDependencies (2)Versions (2)Used By (1)

New Relic Magento 2 Monolog Processor
=====================================

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

This is an extension of NewRelic PHP Monolog Enricher to add in context logging capabilities for Magento 2.

This only implements Processor Class to add the contextual metadata required for New Relic logs in context to operate.

Handler class is not implemented on purpose to prevent additional overhead to transactions and not wait to send logs to New Relic logs API endpoint, you can continue to use any existing log forwarders to send logs to New Relic.

If you dont have any existing log forwarders and can afford overhead to sychronously push logs to New Relic (or to use handler on non production environments where you can afford latency), use the handler extension available here [vgorla/newrelic-magento2-monolog-handler](https://github.com/vikramgorla/newrelic-magento2-monolog-handler) which will automatically install processor (this extension) if you use composer based on the declared dependacy.

### Installation

[](#installation)

Using Composer :

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

```

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

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community9

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 (5 commits)")

### Embed Badge

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

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

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