Install
Works with Drupal: ^8.8 || ^9 || ^10 || ^11Using Composer to manage Drupal site dependencies
Alternative installation files
Release notes
New Features
- Global logging toggle (log_enabled) — master switch to enable or disable all HTTP request logging
- URL filter — filter by URL using glob patterns (* and ? wildcards supported). Two modes: allowlist (only log matching URLs) or denylist (skip matching URLs). Matches against the full request URL including scheme, host, port, path, and query string
- Time filter — restrict logging to a specific time window on selected days of the week. Supports overnight windows (e.g. 22:00–06:00)
- Request method filter — selectively log by HTTP method (GET, POST, PUT, DELETE, HEAD, PATCH). Leave all unchecked to log every method
- Response status code filter — log all responses, only errors (4xx/5xx), or only successful (2xx)
Bug Fixes
- Fixed exception handling in Logger — entity save failures no longer propagate through the Guzzle promise chain and break HTTP requests
- Fixed SettingsForm — removed incorrect #states coupling between only_log_when_response and the content type filter textarea
- Fixed deploy safety — added fallback default for content type filter to prevent logging all content types before update hooks run
- Failed requests now correctly populate the errors field on the log entity
- Fixed array_filter() using implicit callback in content type filter submit handler
- Fixed indentation in update hook
- Added docblocks for new constructor parameters