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:
LUCY_DEV=1 cargo runOr when using the installed binary:
tail -f -n 1000 log/development.log | LUCY_DEV=1 lucy