Lucy helps you visualize Rails logs by grouping related entries by their request_id.
# Install from local repository
cargo install --path .
# Install from GitHub repository
cargo install --git https://github.com/eudoxa/lucyEnable request_id tagging in your Rails application:
# config/environments/development.rb (or other environment file)
Rails.application.configure do
config.log_tags = [:request_id]
endMonitor your logs with this command:
tail -f -n 1000 log/development.log | lucyTo 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