Skip to content

eudoxa/lucy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lucy - Rails log viewer with request_id grouping

Lucy helps you visualize Rails logs by grouping related entries by their request_id.

Lucy Demo

Installation

# Install from local repository
cargo install --path .

# Install from GitHub repository
cargo install --git https://github.com/eudoxa/lucy

Setup

Enable request_id tagging in your Rails application:

# config/environments/development.rb (or other environment file)
Rails.application.configure do
  config.log_tags = [:request_id]
end

Usage

Monitor your logs with this command:

tail -f -n 1000 log/development.log | lucy

Development

To enable debug logs during development, set the LUCY_DEV environment variable. This will write debug information to tracing.log:

tail -f -n 1000 your_log_path/development.log | LUCY_DEV=1 cargo run

About

Rails log viewer

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages