Screenshot of the HTTP client logger configuration page.

The HTTP Client Logger module logs requests and responses made by the core HTTP client.

This can be extremely useful for developing and debugging third-party applications, as the requests and responses can be recorded without requiring any changes to the implementing code.

The module taps into the core http_client service (Guzzle) as a logging middleware, which allows the logging of contrib modules without requiring a patch.

Installation

It's recommended to use Composer to install this module and dependencies.

composer require drupal/http_client_logger

Once installed and the module is enabled, it can be configured at /admin/config/development/logging/http_client.

Requirements

- Drupal core 8.8 or more recent.
- Monolog 2.3 or more recent.

Supporting organizations: 
Invested time and effort in requirements-gathering, use-cases, developing and testing.

Project information

Releases