Skip to content

Latest commit

 

History

History
72 lines (49 loc) · 2.56 KB

File metadata and controls

72 lines (49 loc) · 2.56 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

2.0.2 - 2026-09-01

Added

  • Sample implementation to exercise the logger: sample/app/Controllers/Home.php with a JSON POST endpoint (post) and a multipart file-upload endpoint (upload), plus sample/app/Views/home/index.php with test forms. Routes show how to attach the requestlog filter per-route.

Fixed

  • Request headers were never redacted. The Cookie header (and any other header listed in REQUEST_LOG_REDACT_FIELDS) is now redacted with ***REDACTED*** in the headers field, matching body redaction behavior.

Changed

  • README: removed leftover multi-tenant specification notes.

2.0.1 - 2026-09-01

Superseded by 2.0.2 (Packagist blocks re-tagging a published tag; the fix is re-released under 2.0.2).

  • Request headers are now redacted, including Cookie, when listed in REQUEST_LOG_REDACT_FIELDS.

2.0.0 - 2026-08-31

Changed

  • Architecture overhaul: logs are no longer sent to an external Analysis Server. The filter now writes directly to the CodeIgniter writable/logs directory as JSON Lines.
  • Configuration renamed from ANALYSIS_* to REQUEST_LOG_*; config class AnalysisRequestLog.
  • Filter renamed AnalysisFilterRequestLogFilter (alias requestlog).
  • Service renamed AnalysisServiceRequestLogService.
  • Single log file analysis.log with automatic daily rotation + gzip compression + retention pruning.

Removed

  • AnalysisSend command, local queue, and failed/ retry handling.
  • Guzzle dependency and ANALYSIS_SERVER_URL / ANALYSIS_API_KEY config.

Added

  • requestlog:rotate spark command — manual/cron fallback for rotation, gzip compression and pruning of old logs.
  • REQUEST_LOG_RETENTION_DAYS config (default 30) to control how many days of compressed logs are kept.

1.0.0 - 2026-08-31

Added

  • Initial release: AnalysisFilter, AnalysisService, Analysis config and AnalysisSend command with queue-based asynchronous delivery to an Analysis Server. Superseded by 2.0.0.