Logging & Monitoring

Logging system, log files, and performance monitoring

Log Files

Log File Locations

Platform Location
Windows %APPDATA%\CryptArtist Studio\logs\
macOS ~/Library/Application Support/CryptArtist Studio/logs/
Linux ~/.config/cryptartist-studio/logs/

Log Files

Log File Format

[2026-03-14 12:00:00] [INFO] Application started [2026-03-14 12:00:01] [DEBUG] Loading configuration [2026-03-14 12:00:02] [INFO] Workspace initialized [2026-03-14 12:00:03] [WARN] API key not configured [2026-03-14 12:00:04] [ERROR] Failed to load project: File not found

Log Levels

Level Description Use Case
DEBUG Detailed diagnostic information Development and troubleshooting
INFO General informational messages Normal operation tracking
WARN Warning messages for potential issues Unusual but recoverable conditions
ERROR Error messages for failures Serious problems that need attention
FATAL Critical errors that cause shutdown Unrecoverable failures

Enabling Debug Logging

Set Environment Variable

Before launching CryptArtist Studio, set the RUST_LOG environment variable:

Windows (PowerShell)

$env:RUST_LOG="debug" .\CryptArtist Studio.exe

macOS/Linux

export RUST_LOG=debug ./cryptartist-studio

Log Level Options

# Show only errors RUST_LOG=error # Show warnings and errors RUST_LOG=warn # Show info, warnings, and errors RUST_LOG=info # Show all messages including debug RUST_LOG=debug # Show all messages including trace RUST_LOG=trace

Module-Specific Logging

# Debug only media processing RUST_LOG=cryptartist_studio::media=debug # Debug multiple modules RUST_LOG=cryptartist_studio::media=debug,cryptartist_studio::ai=debug

Frontend Logging

Browser Console

Open the browser developer console (F12) to see frontend logs:

Console Methods

console.log("General message"); console.warn("Warning message"); console.error("Error message"); console.debug("Debug message"); console.info("Info message");

Filtering Console Output

In the browser console, use the filter dropdown to show only specific log levels.

Performance Monitoring

Performance Metrics

CryptArtist Studio tracks performance metrics:

Viewing Performance Data

Performance data is logged to the session log. View it with:

cryptartist-studio system logs | grep "performance"

Performance Profiling

Use browser DevTools Performance tab to profile frontend performance:

  1. Open DevTools (F12)
  2. Go to Performance tab
  3. Click Record
  4. Perform actions to profile
  5. Click Stop to view results

Monitoring Best Practices

Regular Log Review

Log Retention

Troubleshooting with Logs

CryptArtist Studio Logo