-
Notifications
You must be signed in to change notification settings - Fork 0
drupal logs
Paulo Maia Carvalho edited this page May 20, 2026
·
1 revision
Show recent Drupal watchdog log entries.
/drupal-logs
/drupal-logs count=50
/drupal-logs type=php
/drupal-logs severity=error
| 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
|
Each log entry includes:
- Timestamp
- Severity level
- Type / source
- Message
- User (uid) and IP if relevant
- 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>.
- drupal-debug — deeper diagnostic combining watchdog, PHP errors, and config issues
- drupal-status — overall project health