Using the Debug Log
The Debug Log is a powerful tool built into the WPiko Chatbot plugin that helps you monitor activity, troubleshoot issues, and understand how your chatbot is interacting with users and AI models.
Accessing the Debug Log
To access the Debug Log:
Features
1. Enable/Disable Logging
By default, debug logging might be disabled to save resources.
2. Log Statistics
The top of the page features a dashboard showing a quick overview of your log entries:
3. Log Viewer
The main table displays the most recent 100 log entries with the following details:
4. Toolbar Actions
Use the toolbar above the log table to manage your logs:
- Filter Logs: Use the dropdown menu to view specific types of logs (e.g., “Errors Only”).
- Refresh: Click the update icon to load the latest logs without reloading the page.
- Copy to Clipboard: Click the clipboard icon to copy the currently visible logs to your clipboard for sharing with support teams.
- Clear Logs: Click the trash icon to permanently delete all recorded log entries.
When to Use the Debug Log
You should check the Debug Log if:
Common Log Messages
- Authentication failed: Usually indicates an incorrect or missing API key.
- Rate limit exceeded: You have hit the usage limits of your OpenAI account.
- Model overloaded: The AI service is currently busy, try again later.
- Response timeout: The request took too long to process.