PHPackages                             elementareteilchen/logmodifier - 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. elementareteilchen/logmodifier

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

elementareteilchen/logmodifier
==============================

TYPO3 log processors for request URLs and compact exception output.

1.0.0(2mo ago)098↓64.8%GPL-2.0-or-laterPHPPHP ^8.2

Since May 21Pushed 1mo agoCompare

[ Source](https://github.com/ElementareTeilchen/logmodifier)[ Packagist](https://packagist.org/packages/elementareteilchen/logmodifier)[ Docs](https://github.com/ElementareTeilchen/logmodifier)[ RSS](/packages/elementareteilchen-logmodifier/feed)WikiDiscussions main Synced 1w ago

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

TYPO3 Logmodifier
=================

[](#typo3-logmodifier)

This extension provides TYPO3 log processors that make production logs easier to read while preserving access to full exception context when needed.

Features
--------

[](#features)

- Adds the current request URL to human-readable log messages.
- Compacts exception context into a short `file:line` suffix.
- Keeps full exception context when the configured environment variable is enabled.
- Registers itself automatically through TYPO3 extension loading.

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

[](#installation)

Install the extension with Composer:

```
composer require elementareteilchen/logmodifier
```

What Gets Registered
--------------------

[](#what-gets-registered)

The extension registers two TYPO3 log processors for `LogLevel::DEBUG` in `ext_localconf.php`:

```
$GLOBALS['TYPO3_CONF_VARS']['LOG']['processorConfiguration'][LogLevel::DEBUG][RequestUrlProcessor::class] = [];
$GLOBALS['TYPO3_CONF_VARS']['LOG']['processorConfiguration'][LogLevel::DEBUG][CompactExceptionProcessor::class] = [
    'fullLogEnvVar' => 'TYPO3_FULL_LOG',
];
```

TYPO3 applies processors registered on `DEBUG` to records at that level and above, so the processors run for the regular TYPO3 log levels.

Request URL Processor
---------------------

[](#request-url-processor)

`RequestUrlProcessor` appends the normalized request URL to the log message:

```
Something failed (URL: https://example.test/path?foo=bar)

```

It reads the PSR-7 request from `$GLOBALS['TYPO3_REQUEST']` when available and falls back to `$_SERVER`.

Compact Exception Processor
---------------------------

[](#compact-exception-processor)

`CompactExceptionProcessor` removes the full throwable from the log context and appends the exception source location to the message:

```
Something failed - in file /path/to/File.php:42

```

This keeps log output short and avoids dumping large stack traces into compact log targets.

Full Exception Logging
----------------------

[](#full-exception-logging)

Set the environment variable configured by `fullLogEnvVar` to a truthy value to keep the original exception context:

```
TYPO3_FULL_LOG=true
```

By default, the extension uses `TYPO3_FULL_LOG`.

License
-------

[](#license)

GPL-2.0-or-later

###  Health Score

40

—

FairBetter than 86% of packages

Maintenance88

Actively maintained with recent releases

Popularity13

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

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

64d ago

### Community

Maintainers

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

---

Tags

loggingexceptionsTYPO3 CMSlog processors

### Embed Badge

![Health badge](/badges/elementareteilchen-logmodifier/health.svg)

```
[![Health](https://phpackages.com/badges/elementareteilchen-logmodifier/health.svg)](https://phpackages.com/packages/elementareteilchen-logmodifier)
```

###  Alternatives

[bugsnag/bugsnag-laravel

Official Bugsnag notifier for Laravel applications.

90336.2M38](/packages/bugsnag-bugsnag-laravel)[bugsnag/bugsnag

Official Bugsnag notifier for PHP applications.

56349.2M94](/packages/bugsnag-bugsnag)[bugsnag/bugsnag-psr-logger

Official Bugsnag PHP PSR Logger.

32134.1M3](/packages/bugsnag-bugsnag-psr-logger)[rollbar/rollbar

Monitors errors and exceptions and reports them to Rollbar

33724.8M88](/packages/rollbar-rollbar)[bugsnag/bugsnag-symfony

Official BugSnag notifier for Symfony applications.

453.1M9](/packages/bugsnag-bugsnag-symfony)[honeybadger-io/honeybadger-laravel

Honeybadger Laravel integration

431.3M](/packages/honeybadger-io-honeybadger-laravel)

PHPackages © 2026

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