Skip to main content

View, search, and manage log files from the TTS Generation WebUI

Project description

Log Viewer Extension

A log viewer extension for TTS Generation WebUI that allows you to view, search, and manage log files directly from the web interface.

Description

This extension provides a convenient interface for viewing and managing log files generated by TTS Generation WebUI and its extensions. It's particularly useful for:

  • Viewing installation logs for extensions
  • Debugging issues by searching through logs
  • Managing disk space by deleting old logs
  • Quick access to recent logs without navigating the file system

Features

📁 All Logs Tab

  • 📋 Browse Log Files: View all log files sorted by modification date
  • 🔍 Search & Filter: Filter log content by keywords
  • 📊 Log Statistics: See total number of logs and disk space used
  • 📄 File Information: View file size and last modified date
  • 🗑️ Log Management: Delete individual logs or clear all at once
  • 📋 Copy to Clipboard: Easy copy button for sharing log content
  • 🔢 Configurable Display: Control how many lines to display

📦 Pip Install Logs Tab

  • 📝 Cleaned Names: Display pip log names without prefixes/suffixes
  • 📊 Quick Summary: See status overview of recent installations
  • 🔍 Intelligent Analysis: Automatic detection of success/failure/errors
  • Success Indicators: Shows successful installations and satisfied requirements
  • Error Detection: Identifies and highlights errors and failures
  • ⚠️ Warning Detection: Captures deprecation warnings and other issues
  • 📈 Statistics: Line count, error count, warning count
  • 📄 Raw View: Access original log content with search capability

🗑️ Pip Uninstall Logs Tab

  • Same features as Pip Install Logs but for uninstallation operations
  • Separate tracking for package removals
  • Analysis of uninstallation success/failure

Installation

From TTS WebUI

The extension should be available in the Extensions tab of TTS Generation WebUI. Simply enable it from there.

Manual Installation

pip install git+https://github.com/rsxdalv/tts_webui_extension.log_viewer@main

Usage

All Logs Tab

  1. Install the extension
  2. Restart TTS Generation WebUI
  3. Navigate to the "Log Viewer" tab
  4. Select a log file from the dropdown
  5. Click "👁️ View" to display the log content
  6. Use the search box to filter by keywords
  7. Adjust "Max Lines" to control how much content is displayed

Pip Install/Uninstall Logs Tabs

  1. Navigate to the "📦 Pip Install Logs" or "🗑️ Pip Uninstall Logs" tab
  2. View the summary of recent installations/uninstallations with status icons:
    • ✅ = Success
    • ❌ = Failed/Error
    • ❓ = Unknown/Unclear
  3. Select a log from the dropdown
  4. Click "🔍 Analyze Log" to see detailed analysis
  5. Switch to "📄 Raw Log" tab to view the original log content

Tips

  • Search: Enter keywords to filter log entries (case-insensitive)
  • Max Lines: Increase for longer logs, decrease for better performance
  • Refresh: Click the refresh button to update the file list after new logs are created
  • Delete: Use with caution! Deleted logs cannot be recovered
  • Analysis: The analyzer shows unique errors and warnings, not every occurrence
  • Status Icons: Quick visual feedback on installation success/failure in the summary

Development

To run the extension standalone for development:

cd workspace/tts_webui_extension.log_viewer/tts_webui_extension/log_viewer
python main.py

The standalone version will launch at http://localhost:7772

License

MIT License

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tts_webui_extension_log_viewer-0.1.0-py3-none-any.whl (12.2 kB view details)

Uploaded Python 3

File details

Details for the file tts_webui_extension_log_viewer-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for tts_webui_extension_log_viewer-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cbe186d13fc15d0960882884954f4c8398b9e8b0e67c3cd3a2d17b2a081468b6
MD5 e0c09c2a9055e2302aca5995079b1d59
BLAKE2b-256 b3768e535b68021496f72e43da82caccb7d3e912806b921bb14348c8c3e63db1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page