Deploy a small tool about mina: mina-logs

mina, rubygems

A mina plugin that watch production logs in local machine.

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

See more: mina-logs

Published at 2016.05.15


hfctjgyhjn • 2016-05-24 01:57

ghfcvgjbh