Umlaut logging

From Code4Lib

Jump to: navigation, search


Turn off database logging

The database logging is rather verbose. It's by default not present in a production environment, but sometimes you want to turn it off in development so you can examine the other logging.

Add this to an environment file:

ActiveRecord::Base.logger =  Logger.new("/dev/null")
Personal tools