Colorized logging for Memcached and Redis
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib Version bump to 0.1.1 Nov 13, 2017
test Added silence and silence_sidekiq! methods Nov 9, 2017
.gitignore First commit Sep 30, 2017
CHANGELOG.md Version bump to 0.1.1 Nov 13, 2017
Gemfile First commit Sep 30, 2017
LICENSE.txt First commit Sep 30, 2017
README.md Renamed to data protection [skip ci] Jul 21, 2018
Rakefile First commit Sep 30, 2017
cacheflow.gemspec First commit Sep 30, 2017

README.md

Cacheflow

Colorized logging for Memcached and Redis

Screenshot

Works with the Rails cache, as well as Dalli and Redis clients directly

Installation

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.

Features

To silence logging, use:

Cacheflow.silence do
  # code
end

To silence logging for Sidekiq commands, create an initializer with:

Cacheflow.silence_sidekiq!

Data Protection

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.

History

View the changelog

Contributing

Everyone is encouraged to help improve this project. Here are a few ways you can help: