Mina-logs
A mina plugin that watch production logs in local machine.
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
- Fork it
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create new Pull Request
License
The gem is available as open source under the terms of the MIT License.