Search code examples
ruby-on-railsloggingmemcachedenvironmentdalli

Mute Rails memcache logging in development env


Would like to mute large amount of dalli output in development log & STOUT.


Solution

  • Create an initialiser with the following:

    Rails.cache.silence!
    

    Taken from https://github.com/mperham/dalli/issues/207