Rest log listing page
Rest log single log page
Rest log settings form

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.

Project information

Releases