Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

REST Log

Security covered Under active development 138 sites

This module logs incoming REST API requests and their corresponding responses, storing details like method, headers, URI, payload, status, and body. It provides a default view for accessing these logs and offers configuration options for automatic log cleanup and filtering by referrer.

This module logs REST API requests and responses - useful in development and troubleshooting REST API issues.

Out of the box it stores the following information:

  • Request method
  • Request header
  • Request URI
  • Request cookie
  • Request payload
  • Response status
  • Response header
  • Response body
  • Response time

There is standard Drupal view with logs available at admin/reports/rest_log.(Reports > REST API Logging)

Configuration:
The module provides a configuration form at /admin/config/development/logging/rest_log.(Configuration > Development > Logging and errors > REST Log settings)

Additional features:
- Auto cleanup for logs older than the Maximum lifetime setting. (30 days by default)
- Include or exclude logs with the same-host referrer HTTP header.

Drupal 8–11

Ask your assistant about REST Log

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

  • file Drupal core
  • rest Drupal core
  • views Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
7
Tracked since
Apr 2023
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 1
Maintenance
Dormant

Release Timeline

Releases

Version Type Core PHP Release date
2.3.1 Stable 8–11 Oct 17, 2024
2.3.0 Stable 8–11 PHP >=7.4 Aug 22, 2024
2.2.0 Stable 8–10 PHP >=7.4 Nov 18, 2023
2.1.1 Stable 8–10 Oct 16, 2023
2.x-dev Dev 8–11 PHP >=7.4 Oct 16, 2023
2.1.0 Stable 8–10 Aug 12, 2023
2.0.4 Stable 8–10 Apr 19, 2023