Project

cacheflow

0.03
A long-lived project that still receives updates
Colorized logging for Memcached and Redis
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

 Project Readme

Cacheflow

Colorized logging for Memcached and Redis

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

Build Status

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:

To get started with development:

git clone https://github.com/ankane/cacheflow.git
cd cacheflow
bundle install
bundle exec rake test