PHPackages                             ssch/t3-psr3-log-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. ssch/t3-psr3-log-processor

ActiveTypo3-cms-extension[Logging &amp; Monitoring](/categories/logging)

ssch/t3-psr3-log-processor
==========================

Provide PSR-3 interpolate log processor

v1.0.0(3y ago)34.0k↑16.7%[2 PRs](https://github.com/sabbelasichon/t3_interpolate_log_processor/pulls)GPL-2.0+PHPPHP ^7.4 || ^8.0

Since Mar 16Pushed 2y ago1 watchersCompare

[ Source](https://github.com/sabbelasichon/t3_interpolate_log_processor)[ Packagist](https://packagist.org/packages/ssch/t3-psr3-log-processor)[ Docs](http://www.schreibersebastian.de)[ Fund](https://paypal.me/schreiberten)[ GitHub Sponsors](https://github.com/sabbelasichon)[ RSS](/packages/ssch-t3-psr3-log-processor/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (9)Versions (4)Used By (0)

TYPO3 PSR-3 Log Processor
=========================

[](#typo3-psr-3-log-processor)

Integration guide
-----------------

[](#integration-guide)

The extension ships with a custom Processor to substitute log messages with context variables in the message. Let´s say you have a log message with the following format:

```
use Psr\Log\LogLevel;use TYPO3\CMS\Core\Log\LogRecord;

$logRecord = new LogRecord('foo', LogLevel::INFO, 'A message with a {placeholder}', ['placeholder' => 'bar']);
```

In that case the {placeholder} of the message will be substituted by "bar" when processed by the PsrLogProcessor shipped with the extension.

In order to activate the Processor you can configure it i.e. via ext\_localconf.php

```
$GLOBALS['TYPO3_CONF_VARS']['LOG']['Documentation']['Examples']['Controller']['processorConfiguration'] = [
    // configuration for Debug level log entries and above
    \TYPO3\CMS\Core\Log\LogLevel::DEBUG => [
        \Ssch\Psr3LogProcessor\Processor\PsrLogMessageProcessor::class => [
            // The format of the timestamp: one supported by DateTime::format
            'dateFormat' => DateTime::ISO8601,
            // If set to true the fields interpolated into message gets unset
            'removeUsedContextFields' => true,
            // Arrays will be json encoded. With this option you can define how this will happen
            'jsonFlags' => JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE
        ]
    ]
];
```

Credits
-------

[](#credits)

This LogProcessor is heavily inspired by the Processor of [monolog/monolog](https://github.com/Seldaek/monolog/)

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 68.4% 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

1159d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/bebdadb696b19cbbca63cd296ae4e4f48bcf42c20bc483d7b4d0599836dc753d?d=identicon)[schreiberten](/maintainers/schreiberten)

---

Top Contributors

[![sabbelasichon](https://avatars.githubusercontent.com/u/13050560?v=4)](https://github.com/sabbelasichon "sabbelasichon (13 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (6 commits)")

---

Tags

psr-3loggingtypo3

###  Code Quality

Static AnalysisPHPStan

Code StyleECS

Type Coverage Yes

### Embed Badge

![Health badge](/badges/ssch-t3-psr3-log-processor/health.svg)

```
[![Health](https://phpackages.com/badges/ssch-t3-psr3-log-processor/health.svg)](https://phpackages.com/packages/ssch-t3-psr3-log-processor)
```

###  Alternatives

[monolog/monolog

Sends your logs to files, sockets, inboxes, databases and various web services

21.4k964.9M7.0k](/packages/monolog-monolog)[analog/analog

Fast, flexible, easy PSR-3-compatible PHP logging package with dozens of handlers.

3451.5M24](/packages/analog-analog)[inpsyde/wonolog

Monolog-based logging package for WordPress.

183617.9k7](/packages/inpsyde-wonolog)[apix/log

Minimalist, thin and fast PSR-3 compliant (multi-bucket) logger.

511.0M18](/packages/apix-log)[struggle-for-php/sfp-phpstan-psr-log

Extra strict and opinionated psr/log (psr-3) rules for PHPStan

42257.6k9](/packages/struggle-for-php-sfp-phpstan-psr-log)[elastic/ecs-logging

Format and enrich your log files in the elastic common schema

21907.5k1](/packages/elastic-ecs-logging)

PHPackages © 2026

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