Logs_page_view

Gem Version CircleCI Maintainability

Mountable Rails Engine for displaying, tail and download logs from a browser

This Gem is a fork kirillshevch/logs.

New features:

  • Add the new action for TAIL and DOWNLOAD log file.
  • Use bootstrap like front-end.
  • Optimise use RAM for load log file.

Installation

Add this line to your application's Gemfile:

gem 'logs_page_view'

And then execute:

$ bundle

Mount Engine:

config/routes.rb

Rails.application.routes.draw do
  mount Logs::Engine => '/logs'
end

Look up on /logs route.

Demo

Index page

Logs

Download log file

Logs

Tail log file page

Logs

License

The gem is available as open source under the terms of the MIT License.