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
- Install the extension
- Restart TTS Generation WebUI
- Navigate to the "Log Viewer" tab
- Select a log file from the dropdown
- Click "👁️ View" to display the log content
- Use the search box to filter by keywords
- Adjust "Max Lines" to control how much content is displayed
Pip Install/Uninstall Logs Tabs
- Navigate to the "📦 Pip Install Logs" or "🗑️ Pip Uninstall Logs" tab
- View the summary of recent installations/uninstallations with status icons:
- ✅ = Success
- ❌ = Failed/Error
- ❓ = Unknown/Unclear
- Select a log from the dropdown
- Click "🔍 Analyze Log" to see detailed analysis
- 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tts_webui_extension_log_viewer-0.2.0-py3-none-any.whl.
File metadata
- Download URL: tts_webui_extension_log_viewer-0.2.0-py3-none-any.whl
- Upload date:
- Size: 12.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
29bdecb3ae5912d4803341dcc3fd55a129de4b14ba798667fe02973d920bd1b0
|
|
| MD5 |
dfb6771d3dab3dca1369f17e0b3e9a29
|
|
| BLAKE2b-256 |
c1f5d6243d4212a9b3204e95cf1d24fee70cf0aa82f98f94e0c4a2448192518f
|