Drupal is a registered trademark of Dries Buytaert
Search API Solr 4.4.0 Minor update available for module search_api_solr (4.4.0). Page Manager 8.x-4.0 Major update available for module page_manager (8.x-4.0). Trash 3.1.0-beta2 New beta version released for module trash (3.1.0-beta2). Commerce AutoSKU 3.0.1 Minor update available for module commerce_autosku (3.0.1). Custom Field 4.0.10 Minor update available for module custom_field (4.0.10). Alternative login ID & display names 2.0.12 Minor update available for module alt_login (2.0.12). EntityReference UUID 3.0.1 Minor update available for module entity_reference_uuid (3.0.1). LocalGov Publications Importer 1.1.1 Minor update available for module localgov_publications_importer (1.1.1). Configuration Override Warn 8.x-1.6 Module config_override_warn updated after 10 months of inactivity (8.x-1.6). Table Alternate Rows Module table_altrow crossed 1,000 active installs.

AI Watchdog Analyst integrates with your Drupal Watchdog logs to provide instant AI-powered debugging assistance. It offers detailed solutions, root cause analysis, and code examples for errors directly within your Drupal admin interface, even checking Drupal.org issue queues for contrib modules.

Tired of spending hours debugging Drupal errors? AI Watchdog Analyst connects your
Watchdog log list to an AI chat provider and delivers instant, detailed solutions —
including root cause analysis, code examples, and automatic issue queue lookups for
contrib modules — directly in your Drupal admin.

Features

  • One-click analysis: An "🤖 Analyze" button appears on Warning
    and Error entries in the Watchdog log list (/admin/reports/dblog).
    Click it to open a modal dialog with an AI-generated solution.
  • Detail page integration: An "Analyze with AI" button is also
    available on individual log event pages.
  • Contrib module detection: Automatically detects if the error
    originates from a contrib module and enriches the AI prompt with drupal.org issue
    queue context — including links to known issues, available patches, and fixed
    versions.
  • Markdown rendering: AI responses are rendered with full
    formatting — headers, code blocks, and lists.
  • Multilingual: The AI responds in the current Drupal site
    language.
  • Caching: Analysis results are cached for 24 hours to avoid
    redundant API calls.
  • Configurable system prompt: Customize the AI expert persona
    and instructions via the admin UI.

Post-Installation

  1. Install and configure the AI
    module
    with at least one chat provider (e.g. OpenAI, Azure OpenAI, Ollama).
  2. Go to /admin/config/ai/watchdog-analyst to optionally select
    a specific provider/model and customize the system prompt.
  3. Navigate to /admin/reports/dblog. Warning and Error entries
    will now have an "🤖 Analyze" button in the "AI Solution" column.
  4. Click the button to open a modal with the AI-generated analysis.

No content types, text formats, or additional configuration are required beyond
setting up an AI provider.

Additional Requirements

  • AI module (^1.0) — provides
    the provider plugin system. At least one chat-capable provider must be configured.
  • league/commonmark
    — for rendering markdown AI responses as HTML. Installed automatically via
    Composer.
  • Drupal core Database Logging module (dblog) must be
    enabled.
  • Any AI provider sub-module compatible with the AI module
    (e.g. ai_provider_openai, ai_provider_azure,
    ai_provider_ollama) — choose based on your infrastructure and
    privacy requirements.

Supporting this Module

This module is maintained on a volunteer basis. If you find it useful, the best
ways to support it are:

  • Report bugs and contribute patches in the
    issue queue.
  • Leave a review on the project page.

Community Documentation

Documentation and usage examples are available in the
README.md
file included with the module.

Activity

Total releases
4
First release
Mar 2026
Latest release
4 months ago
Releases (12 mo)
4 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Release date
1.0.2 Stable Mar 10, 2026
1.0.1 Stable Mar 10, 2026
1.0.0 Stable Mar 10, 2026
1.0.x-dev Dev Mar 10, 2026