{"repo":"silva96/log_bench","free":true,"listed":false,"github":"https://github.com/silva96/log_bench","clone":"git clone https://github.com/silva96/log_bench.git","description":"A terminal-based Rails log viewer with real-time monitoring and filtering capabilities","language":"Ruby","stars":538,"topics":["logging","logs","ruby","tui"],"license":"MIT","category":"cli-tools","readme_excerpt":"LogBench A powerful TUI (Terminal User Interface) for analyzing Rails application logs in real-time. LogBench provides an intuitive interface to view HTTP requests, SQL queries, and performance metrics from your Rails logs. Features - 🚀 Real-time log analysis with auto-scroll - 📊 Request correlation - groups SQL queries with HTTP requests - 🔍 Advanced filtering by method, path, status, controller, and more - 📈 Performance insights - duration, allocations, query analysis - 🎨 Beautiful TUI with syntax highlighting and ANSI color support - ⚡ Fast parsing of JSON-formatted logs Installation Add LogBench to your Rails application's Gemfile: Then run: Configuration LogBench is automatically enabled in development environment for backward compatibility. This gem heavily relies on lograge gem for request tracking, we add lograge to your Rails application and configure it automatically, but you can also configure lograge manually if you want. Default Behavior LogBench works out of the box! Just add the gem and restart your Rails server. It automatically configures: - Lograge with JSON formatter and custom options - Rails logger with LogBench::JsonFormatter - Request ID tracking via LogBench::Current - Automatic injection of request id into ApplicationController No configuration needed in development! Custom Configuration (Optional) To customize LogBench behavior, create config/initializers/log bench.rb : Manual Lograge Configuration If you already have lograge configured or want ","default_branch":null,"files":null,"tree":[],"storefront":"/r/silva96","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/silva96/log_bench/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}