Skip to content

drupal logs

Paulo Maia Carvalho edited this page May 20, 2026 · 1 revision

drupal-logs

Show recent Drupal watchdog log entries.

Usage

/drupal-logs
/drupal-logs count=50
/drupal-logs type=php
/drupal-logs severity=error

Parameters

Parameter Default Description
count 25 Number of entries to show
type all Filter by log type (e.g. php, system, user, module name)
severity all Filter by severity: emergency, alert, critical, error, warning, notice, info, debug

What it shows

Each log entry includes:

  • Timestamp
  • Severity level
  • Type / source
  • Message
  • User (uid) and IP if relevant

Notes

  • Reads from the Drupal watchdog database table via drush watchdog:show.
  • Requires the Docker stack to be running.
  • For PHP fatal errors or stack traces that don't appear in watchdog, check container logs directly — ask the agent or use docker logs <container>.

Related skills

  • drupal-debug — deeper diagnostic combining watchdog, PHP errors, and config issues
  • drupal-status — overall project health

Clone this wiki locally