Conversation logs provide detailed visibility into every interaction with your AI application. Use them to debug specific issues, understand user behavior patterns, and collect feedback for continuous improvement.Documentation Index
Fetch the complete documentation index at: https://docs.dify.ai/llms.txt
Use this file to discover all available pages before exploring further.
What Gets Logged
All User Interactions Every conversation through your web app or API is logged with complete input/output history, timing data, and system metadata. User Feedback Thumbs up/down ratings and user comments are captured alongside the conversations they reference. System Context Model used, token consumption, response times, and any errors or warnings during processing. Exclusions: Debugging sessions and prompt testing are not included in logs.Use the Logs Console
Access logs from your application’s navigation menu. The interface shows:- Conversation Timeline: Chronological list of user interactions
- Message Details: Full conversation context with AI responses
- Performance Data: Response times and token usage per interaction
- User Feedback: Ratings and comments from users and team members
Debug with Logs
Failed Interactions Quickly identify conversations where the AI provided poor responses, failed to understand user intent, or encountered errors. Performance Issues Spot slow responses, high token usage, or system errors that affect user experience. User Journey Analysis Follow individual users through multiple conversations to understand usage patterns and pain points.Feedback Collection
User Ratings Users can provide thumbs up/down feedback on AI responses. Track satisfaction trends over time. Team Annotations Team members can add internal notes and improved responses directly in the log interface. Feedback Analysis Identify common complaint patterns, successful interaction types, and areas needing improvement.Log Retention
- Sandbox: Logs are retained for 30 days.
- Professional & Team: Unlimited log retention during active subscription.
-
Self-hosted: Unlimited by default; configurable via environment variables
WORKFLOW_LOG_CLEANUP_ENABLED,WORKFLOW_LOG_RETENTION_DAYS, andWORKFLOW_LOG_CLEANUP_BATCH_SIZE.