Colorized logging for Memcached and Redis
Add this line to your application’s Gemfile:
gem 'cacheflow', group: :development
When your log level is set to
DEBUG (Rails default in development), all commands to Memcached and Redis are logged.
To silence logging, use:
Cacheflow.silence do # code end
To silence logging for Sidekiq commands, create an initializer with:
If you use Cacheflow in an environment with personal data and store that data in Memcached or Redis, it can end up in your app logs. To avoid this, silence logging for those calls.
View the changelog
Everyone is encouraged to help improve this project. Here are a few ways you can help: