You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Paulo Maia Carvalho edited this page Oct 2, 2026
·
1 revision
drupal-watchdog-cache
Internal skill used by the interface. You normally never run it yourself.
It refreshes /workspace/.piclaw/watchdog.json with the latest 60 Drupal watchdog entries, in compact JSON, so the interface can show recent log entries without printing them in the chat. It answers with a single short line.
What it does
Reads the stack state from /workspace/.piclaw/stack/state.json and finds the running PHP container
Runs drush watchdog:show --count=60 --format=json (inside the container, or with the local Drush as a fallback)
Writes the result, compacted, to watchdog.json. The count and the compact format keep the file under PiClaw's 20 KB file API limit
If no stack is configured or it is not running, it reports an error and suggests drupal-serve.
Related skills
drupal-logs — show recent watchdog entries in the chat