Skip to main content

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

Metadata

Release files for tts-webui-extension.log-viewer 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for tts-webui-extension.log-viewer 0.2.0
File Interpreter ABI Platform Actions
tts_webui_extension_log_viewer-0.2.0-py3-none-any.whl Python 3 none any Details for tts_webui_extension_log_viewer-0.2.0-py3-none-any.whl

Release files / tts_webui_extension_log_viewer-0.2.0-py3-none-any.whl

Download URL tts_webui_extension_log_viewer-0.2.0-py3-none-any.whl
Size 12.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
29bdecb3ae5912d4803341dcc3fd55a129de4b14ba798667fe02973d920bd1b0
BLAKE2b-256 checksum
How to use checksums
c1f5d6243d4212a9b3204e95cf1d24fee70cf0aa82f98f94e0c4a2448192518f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.19

Security for tts-webui-extension.log-viewer 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page