A Rails 3.1 mountable engine for viewing log files.
gem 'log-pile', :git => 'git://github.com/anolson/log_pile.git'
If you want to load seed data, update seeds.rb
with:
LogPile::Engine.load_seed
Migrate your database.
rake log_pile:install:migrations db:migrate
Update routes.rb
with:
mount LogPile::Engine => "/logs"
You might want to limit access to your log files. One solution is to use devise.
Update routes.rb
with:
authenticate(:admin) do mount LogPile::Engine => "/logs" end