Minimal Logging removes some of the noise from the Rails Server log so you can focus on the most important events. It also formats parameters and actions in a more readable way to quickly see what's going on.
Add this to your application's Gemfile:
group :development do
gem 'minimal_logging'
end
And then execute:
$ bundle
Or install it yourself:
$ gem install minimal_logging
You can set minimal_logging's configuration options in application.rb or development.rb in your config.
By default, minimal_logging will change your log_level to :info. If you want to set the log level yourself, you can turn this behavior off.
config.minimal_logging.change_log_level = false
You can turn logging assets back on. Much of the logic for quietting assets thanks to the quiet_assets gem.
config.minimal_logging.quiet_assets = false
And you can turn off minimal_logging itself.
config.minimal_logging.enabled = false
- Fork it ( https://github.com/nelsonscott/minimal_logging/fork )
- 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 a new Pull Request