How to disable activerecord cache logging in rails
- by user1508459
I'm trying to disable logging of caching in production. Have succeeded in getting SQL to stop logging queries, but no luck with caching log entries. Example line in production log:
CACHE (0.0ms) SELECT merchants.* FROM merchants WHERE merchants.id = 1 LIMIT 1
I do not want to disable all logging, since I want logger.debug statements to show up in the production log.
Using rails 3.2.1 with Mysql and Apache.
Any suggestions?