Project

mina-logs

0.0
No commit activity in last 3 years
No release in over 3 years
Show logs for mina
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.12
~> 10.0
~> 3.0

Runtime

>= 1.0.2
 Project Readme

Mina-logs

A mina plugin that watch production logs in local machine.

Gem version

For mina 0.3.8, please use 0.1.0 version.

Installation

Add this line to your Rails application's Gemfile:

gem 'mina-logs', require: false

And then execute:

$ bundle

Usage

Add this to your config/deploy.rb file:

require 'mina/logs'

Then:

# tail -f log/production.log
$ mina logs
# tail -f log/puma.log
$ mina puma_logs
# tail -f log/unicorn.log
$ mina unicorn_logs
# tail -f log/sidekiq.log
$ mina sidekiq_logs
# tail -f log/resque.log
$ mina resque_logs
# tail -f log/xx.log
$ mina '_logs[xx]'

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

License

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