RedisLogger is a better redis logger for Rails application
Switch branches/tags
Nothing to show
Pull request Compare This branch is 6 commits behind hellolucky:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
.gitignore
Gemfile
Gemfile.lock
MIT-LICENSE
README.md
Rakefile
redis_logger.gemspec

README.md

RedisLogger

RedisLogger is a better redis logger for Rails application

Setup

1. Add RedisLogger to your gemfile

gem 'redis_logger', :git => "git@github.com:hellolucky/redis_logger.git"

2. Generate initializer

rails g redis_logger:install

It'll generate "config/initializers/redis_logger.rb" to overwrite the default logger in redis-rb

3. Initialize Redis and specify logger

$redis = Redis.new(:logger => Rails.logger)

Preview

Alt text

Author

License

This project rocks and uses MIT-LICENSE.