Logs Folder
The logs folder contains comprehensive interaction logs that track all AI assistant interactions for both Minecraft and Discord.
Log File Format
Log files are saved with a date-based naming convention: YYYY-MM-DD.log (e.g., 2025-08-29.log). Each day's interactions are stored in a separate file for easy organization and management.
Log Entry Types
The logging system captures different types of events with specific prefixes:
Initialization Events
[INIT_EMBEDDING]: Records when the embedding system initializes and loads document files.[EMBEDDING_INGESTION]: Logs when documents are processed and new embeddings are created.[EMBEDDING_CACHE]: Records when embedding cache is saved or loaded.
Interaction Events
[INTERACTION]: Captures metadata about each user interaction including:Platform: Minecraft or Discord.
Type: Public, Private Ask, Private Chat (Minecraft) or Channel/DMs (Discord).
User Details: Player name and UUID (Minecraft) or username and ID (Discord).
Channel: Discord channel name (if applicable).
Requester: Who requested the response (for Discord "Ask AI" app).
Processing Events
[QUESTION]: The exact question or message sent by the user[EMBEDDING]: Records embedding search results (chunks found and time spent)[RESPONSE]: The AI's generated response[SUMMARY]: Interaction summary (success status, tokens used, response time)
Configuration
Logging can be configured through the logging section in the config.yml file:
logging:
# Enable or disable comprehensive logging of interactions
enabled: true
# Log ignored messages (helpful for setup but can spam logs)
log_ignored_messages: false
# Enable logging for Minecraft interactions
log_minecraft: true
# Enable logging for Discord interactions
log_discord: trueConfiguration Options:
enabled: Set tofalseto disable all logging (false by default).log_ignored_messages: When enabled, logs messages that the AI chose not to respond to. This is useful during initial setup to understand why certain messages aren't being answered, but should be disabled in production to avoid log spam.log_minecraft: Controls whether Minecraft chat interactions are logged.log_discord: Controls whether Discord interactions are logged.
Log Analytics Dashboard
The ServerAssistantAI Log Analyzer is a web-based analytics dashboard that processes your log files to provide detailed insights into AI usage patterns and user interactions.

Features:
Three Analysis Views:
Overview: Statistics, platform distribution, top users, and question categories.
Interactions: Detailed table with customizable columns showing all logged interactions.
Analytics: Common questions, hourly activity, and performance metrics.
Key Capabilities:
Filter by date or platform (Minecraft/Discord).
Export data to CSV format.
Drag-and-drop file upload.
Support for multiple log files.
Real-time processing in your browser.
Usage:
Upload log files from your
logs/directory.Navigate between Overview, Interactions, and Analytics tabs.
Apply filters and export data as needed.
Privacy:
All processing happens locally in your browser, and no data is sent to external servers.
Last updated
Was this helpful?