cgoit/contao-additional-header-logging-bundle

Extends the Contao log by adding configurable HTTP request headers for debugging and analysis.

Maintainers

Package info

github.com/cgoIT/contao-additional-header-logging-bundle

Homepage

Type:contao-bundle

pkg:composer/cgoit/contao-additional-header-logging-bundle

Fund package maintenance!

cgoIT

Ko Fi

Statistics

Installs: 1

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

1.0.0 2026-04-21 14:12 UTC

This package is auto-updated.

Last update: 2026-04-21 14:17:32 UTC


README

Packagist Version Dynamic JSON Badge Downloads CI

Do you need more insight into incoming requests in your Contao application? Are you missing specific HTTP headers in your logs for debugging, analytics or security purposes?

This bundle allows you to configure a list of HTTP headers that will be logged in addition to the default Contao log information.

Define the headers you are interested in, and they will automatically be included in your Contao log entries.

Typical use cases include:

  • Debugging reverse proxy or CDN setups (e.g. X-Forwarded-For, X-Real-IP)
  • Tracking custom application headers
  • Inspecting authentication or API-related headers
  • Security analysis and request tracing

Install

composer require cgoit/contao-additional-header-logging-bundle

Configuration

Configure the headers under Settings in your Contao Backend.

Notes

  • Header names are case-insensitive.
  • Only headers present in the request will be logged.
  • Be careful when logging sensitive headers (e.g. authentication tokens).