Generating Diagnostic Reports
Diagnostic reports bundle system information, session data, configuration files, and recent logs into a single ZIP file. This is invaluable for debugging issues or getting technical support.Using the CLI
Generate diagnostics for a specific session using thegoose session diagnostics command:
Using goose Desktop
- In an active chat session, look for the diagnostics icon in the bottom toolbar
- Click the diagnostics button
- Review the information about what data will be collected
- Click Download to generate and save the bundle
- The ZIP file will be saved as
diagnostics_{session_id}.zip
The diagnostics button is only available when you have an active session, as it needs a session ID to generate the bundle.
What’s Included in Diagnostics
The diagnostics ZIP file contains several components:System Information
Thesystem.txt file includes:
- App Version: goose version number
- OS: Operating system (macOS, Linux, Windows)
- OS Version: Specific OS version
- Architecture: CPU architecture (x86_64, arm64, etc.)
- Provider: Configured LLM provider
- Model: Selected model name
- Enabled Extensions: List of active extensions
- Timestamp: When the diagnostic was generated
Session Data
Thesession.json file contains your conversation history, including:
- User messages
- Assistant responses
- Tool calls and results
- Session metadata
Log Files
Log files are stored in JSONL format (one JSON object per line) and include:- Timestamped events
- Error messages and stack traces
- Extension activation/deactivation
- Provider API calls
- Tool execution details
When to Generate Diagnostics
Before reporting bugs
Before reporting bugs
Include diagnostic data when filing a bug report to help maintainers understand your environment and reproduce the issue.
Experiencing crashes or errors
Experiencing crashes or errors
Generate diagnostics immediately after a crash or error occurs to capture relevant log data.
Performance issues
Performance issues
Diagnostics can help identify slow operations, network timeouts, or resource constraints.
Configuration problems
Configuration problems
Review your
config.yaml and system information to verify settings are correct.Viewing Logs Manually
Log Locations
goose stores logs in different locations depending on your operating system:Log Structure
Logs are organized by component and date:Reading JSONL Logs
Logs use JSONL format for structured data. Each line is a valid JSON object:Log Retention
goose automatically cleans up old logs:- Logs older than 14 days are automatically deleted
- Only the 10 most recent log files are included in diagnostic bundles
- This helps manage disk space while retaining recent troubleshooting data
Debugging Common Scenarios
Provider Connection Issues
Check provider configuration:Extension Activation Failures
List enabled extensions:- Missing package runners (
npx,uvx) - Network access blocked in corporate environments
- Malicious package detection blocking installation
- Incorrect command or arguments in configuration
Session Recovery
List all sessions:Privacy Considerations
Getting Help
If you’re still experiencing issues after reviewing diagnostics:- Check Known Issues: Review the Known Issues page for common problems and solutions
- Search Community: Check Discord for similar issues
- File a Bug Report: Use the diagnostic data when reporting bugs on GitHub
- Ask the Community: Join our Discord community for real-time help
Related Resources
- Known Issues - Common problems and solutions
- FAQ - Frequently asked questions
- Environment Variables - Configuration options
- Configuration Files - Config file reference