{"id":21446938,"url":"https://github.com/openforgeproject/vscode-ext-magento-log-viewer","last_synced_at":"2026-05-26T11:00:36.211Z","repository":{"id":263133356,"uuid":"883905326","full_name":"OpenForgeProject/vscode-ext-magento-log-viewer","owner":"OpenForgeProject","description":"The Magento Log Viewer extension for Visual Studio Code allows you to easily view and manage log files in your Magento project. This extension provides a tree view of log files, the ability to open and clear log files, and a status bar item showing the number of log files.","archived":false,"fork":false,"pushed_at":"2026-05-18T16:42:41.000Z","size":3818,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-05-18T18:35:45.034Z","etag":null,"topics":["developer-tools","development","log","magento","magento2","vscode","vscode-extension"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/OpenForgeProject.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":["dermatz"]}},"created_at":"2024-11-05T19:29:41.000Z","updated_at":"2026-05-18T16:42:44.000Z","dependencies_parsed_at":"2024-11-16T13:18:02.348Z","dependency_job_id":"4a4ab488-6141-456f-9b18-8aa13a98192e","html_url":"https://github.com/OpenForgeProject/vscode-ext-magento-log-viewer","commit_stats":null,"previous_names":["dermatz/vscode-ext-magento-log-viewer"],"tags_count":43,"template":false,"template_full_name":null,"purl":"pkg:github/OpenForgeProject/vscode-ext-magento-log-viewer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenForgeProject%2Fvscode-ext-magento-log-viewer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenForgeProject%2Fvscode-ext-magento-log-viewer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenForgeProject%2Fvscode-ext-magento-log-viewer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenForgeProject%2Fvscode-ext-magento-log-viewer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OpenForgeProject","download_url":"https://codeload.github.com/OpenForgeProject/vscode-ext-magento-log-viewer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenForgeProject%2Fvscode-ext-magento-log-viewer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33517124,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T03:12:49.672Z","status":"ssl_error","status_checked_at":"2026-05-26T03:12:47.976Z","response_time":63,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["developer-tools","development","log","magento","magento2","vscode","vscode-extension"],"created_at":"2024-11-23T03:08:20.876Z","updated_at":"2026-05-26T11:00:36.175Z","avatar_url":"https://github.com/OpenForgeProject.png","language":"TypeScript","funding_links":["https://github.com/sponsors/dermatz"],"categories":[],"sub_categories":[],"readme":"# 🚀 Magento Log Viewer for VS Code\n\n[![Codacy Badge](https://app.codacy.com/project/badge/Grade/04d20d74a4bb4f7fb144d320f7008edb)](https://app.codacy.com/gh/OpenForgeProject/vscode-ext-magento-log-viewer/dashboard?utm_source=gh\u0026utm_medium=referral\u0026utm_content=\u0026utm_campaign=Badge_grade) [![GitHub Actions](https://github.com/OpenForgeProject/vscode-ext-magento-log-viewer/actions/workflows/test.yml/badge.svg)](https://github.com/OpenForgeProject/vscode-ext-magento-log-viewer/actions/workflows/test.yml) ![Visual Studio Marketplace Installs](https://img.shields.io/visual-studio-marketplace/i/MathiasElle.magento-log-viewer?color=0891B2)\n\n**Professional Log Viewer for Magento \u0026 Adobe Commerce Developers**\n\nA powerful VS Code extension designed to enhance your Magento development workflow by providing real-time log monitoring, advanced search capabilities, and intelligent log management directly within your code editor.\n\n![Magento Log Viewer Screenshot](resources/logVideo.gif)\n\n## ✨ Key Features\n\n### � **Real-Time Log Tailing** 🆕\n\n- **Live Monitoring** - Watch log files update in real-time as new entries are written\n- **Intelligent Updates** - Only new content is read (no full file re-reads)\n- **One-Click Activation** - Right-click any log file → \"Start Tailing\"\n- **Smart Notifications** - Automatic alerts for new ERRORs and CRITICAL entries (throttled to prevent spam)\n- **Memory Safe** - Maximum 5 files simultaneously, large file warnings (\u003e100MB)\n- **Persistent State** - Optional: Remember tailed files across VS Code restarts\n- **Configurable Speed** - Update intervals from instant (100ms) to relaxed (2s)\n\n### �📁 **Smart Log Management**\n\n- **Structured Tree View** - All log files from `var/log/` organized clearly\n- **Color-coded Log Levels** - ERROR (red), WARN (orange), DEBUG (yellow), INFO (blue), CRITICAL (pink)\n- **Report File Integration** - Automatic analysis and grouping of `var/report/` files\n- **Real-time Monitoring** - Live updates when files change\n\n### 🔍 **Advanced Search Capabilities**\n\n- **Real-time Search** - Instant filtering as you type\n- **Regex Support** - Powerful pattern matching (e.g., `error.*critical`)\n- **Case-sensitive Options** - Precise search with case sensitivity control\n- **Smart Grouping** - Identical log entries are automatically grouped\n\n### ⚡ **Performance Optimization**\n\n- **Intelligent Caching** - Up to 80% faster file access\n- **Memory Management** - Automatic cache memory optimization\n- **Configurable Limits** - Adjust cache size based on project needs\n- **Performance Statistics** - Detailed cache metrics for developers\n\n### 🛠️ **Automated Maintenance**\n\n- **Auto-Cleanup** - Automatic deletion of old log files by configurable age\n- **Periodic Cleanup** - Cron-like scheduling (5min to 24h intervals)\n- **One-Click Cleanup** - Instant deletion with safety confirmation\n- **Bulk Operations** - Delete report files individually or all at once\n\n## 🚀 Quick Start\n\n### Installation \u0026 Setup\n\n1. **Install Extension** - Direct from VS Code Marketplace\n2. **Open Magento Project** - Load workspace in VS Code\n3. **Confirm Project** - Automatic detection with confirmation dialog\n4. **Select Magento Root** - Integrated folder picker for easy configuration\n5. **Done!** - Log files are automatically loaded\n\n\u003e **💡 Tip:** The extension saves all settings workspace-specific, allowing different configurations for different Magento projects.\n\n### Getting Started\n\n- **Open Log Viewer** - Click the Magento logo (M) in the sidebar\n- **Search Logs** - Search icon in the header for live filtering\n- **Open Files** - Direct click on log entries jumps to the corresponding line\n- **Manage Reports** - Right-click menu for individual report deletion\n\n## 📖 Detailed Usage\n\n### 📡 Real-Time Log Tailing 🆕\n\nPerfect for debugging live issues - see errors as they happen!\n\n**How to Use:**\n\n1. **Right-click** on any log file in the tree view\n2. Select **\"Start Tailing\"** from context menu\n3. **Watch live** - New log entries appear automatically\n4. **Stop anytime** - Right-click → \"Stop Tailing\" or use \"Stop All Tailing\" in maintenance menu\n\n**Features:**\n\n- **📊 Live Updates** - New entries appear instantly (configurable interval: 100ms to 2s)\n- **🚨 Smart Alerts** - Automatic notifications for ERROR/CRITICAL entries (max 1/minute)\n- **💾 Memory Safe** - Position tracking ensures only new content is read\n- **⚡ Performance** - Incremental parsing without full file reload\n- **📌 Persistent** - Optional: Restore tailing after VS Code restart\n\n**Configuration:**\n\n```json\n{\n  \"magentoLogViewer.tailingUpdateInterval\": \"500ms\", // How fast to check for updates\n  \"magentoLogViewer.tailingAutoScroll\": true, // Auto-scroll to new entries\n  \"magentoLogViewer.tailingPersistAcrossSessions\": false // Remember after restart\n}\n```\n\n**Best Practices:**\n\n- Use **instant** (100ms) for critical debugging sessions\n- Use **500ms** (default) for normal development\n- Use **1s-2s** for low-priority monitoring\n- Maximum **5 files** can be tailed simultaneously\n- Files \u003e100MB show warning before tailing starts\n\n### Log Management\n\n- **📊 Overview** - All log files with badge display of entry count\n- **🔄 Auto-Refresh** - Automatic updates when files change\n- **📋 Grouping** - Identical messages are summarized (`INFO (128, grouped)`)\n- **🎯 Navigation** - Direct jump to specific lines in code\n\n### Advanced Search\n\n- **🔍 Text Search** - Simple text input filters all relevant entries\n- **⚡ Real-time Filter** - Instant results while typing\n- **🎯 Case-Sensitive** - Activatable via settings for exact case matching\n- **🔧 Regex Patterns** - Advanced search patterns for complex filtering\n  - Example: `error.*critical` finds all ERROR logs with \"critical\"\n  - Example: `\\[2024-12-\\d+\\]` for all December 2024 entries\n- **🧹 Clear Search** - Clear button (visible during active search)\n\n### Automatic Cleanup\n\n- **⏰ Auto-Cleanup** - Configurable deletion by file age\n  - Supported formats: `30min`, `2h`, `7d`, `2w`, `3M`\n  - Disabled by default for safety\n- **🔄 Periodic Cleanup** - Automatic execution at intervals\n  - Intervals: 5min to 24h selectable\n  - Recommended: `1h` for production, `6h` for development\n- **🗑️ Manual Cleanup** - Clock icon for immediate cleanup\n- **⚠️ Safety** - Confirmation dialogs for critical operations\n\n### Report Management\n\n- **📁 Structured View** - Automatic title optimization through content parsing\n- **🔍 Separate Search** - Independent search function for report files\n- **🗑️ Selective Deletion** - Individual reports via right-click context menu\n- **🧹 Bulk Operations** - Delete all reports at once\n\n## ⚙️ Configuration\n\n### Performance Settings\n\n```json\n{\n  \"magentoLogViewer.cacheMaxFiles\": 50, // Max files in cache\n  \"magentoLogViewer.cacheMaxFileSize\": 10, // Max file size in MB\n  \"magentoLogViewer.enableCacheStatistics\": false // Debug statistics\n}\n```\n\n### Cleanup Configuration\n\n```json\n{\n  \"magentoLogViewer.enableAutoCleanup\": false, // Enable auto-cleanup\n  \"magentoLogViewer.autoCleanupMaxAge\": \"7d\", // Maximum file age\n  \"magentoLogViewer.enablePeriodicCleanup\": false, // Periodic execution\n  \"magentoLogViewer.periodicCleanupInterval\": \"6h\" // Cleanup interval\n}\n```\n\n### Display Options\n\n```json\n{\n  \"magentoLogViewer.groupByMessage\": true, // Group messages\n  \"magentoLogViewer.searchCaseSensitive\": false, // Case-sensitive search\n  \"magentoLogViewer.searchUseRegex\": false // Regex support\n}\n```\n\n## 🎯 Supported Magento Versions\n\n- ✅ **Magento 2.x** (all versions)\n- ✅ **Adobe Commerce** (On-Premise \u0026 Cloud)\n- ✅ **Adobe Commerce Cloud**\n- ✅ **Magento Open Source**\n- ✅ **Custom Log Structures**\n\n## 🔧 System Requirements\n\n- **VS Code** 1.95.0 or higher\n- **Magento Project** with standard `var/log` and `var/report` structure\n- **Node.js** (automatically installed with VS Code)\n\n## 🤝 Support \u0026 Contributing\n\n### Report Issues\n\n- 🐛 **Bug Reports** - [GitHub Issues](https://github.com/OpenForgeProject/vscode-ext-magento-log-viewer/issues)\n- 💡 **Feature Requests** - [GitHub Discussions](https://github.com/OpenForgeProject/vscode-ext-magento-log-viewer/discussions)\n\n### Support Development\n\n- ⭐ **Rate Extension** - [VS Code Marketplace](https://marketplace.visualstudio.com/items?itemName=MathiasElle.magento-log-viewer)\n- 💖 **Sponsoring** - [GitHub Sponsors](https://github.com/sponsors/dermatz)\n- 🔧 **Contributing** - Pull requests welcome!\n\n## 📄 License\n\nThis project is licensed under the **GNU General Public License v3.0**.\nSee the [LICENSE](LICENSE) file for details.\n\n---\n\n**Built with ❤️ for the Magento Community**\n\n_Enhance your productivity with intelligent log management directly in VS Code!_\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenforgeproject%2Fvscode-ext-magento-log-viewer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopenforgeproject%2Fvscode-ext-magento-log-viewer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenforgeproject%2Fvscode-ext-magento-log-viewer/lists"}