require "logger"

Log = LOGGER if defined?(LOGGER)
Log ||= Logger.new(STDOUT)

ActiveRecord::Base.logger.level = Logger::WARN if ActiveRecord::Base.logger
require "logger"

unless defined?(LOGGER)
  LOGGER = Logger.new("/dev/null")
end

ActiveRecord::Base.logger.level = Logger::WARN if ActiveRecord::Base.logger
Fix failing specs due to LOGGER not being defined.
Fix failing specs due to LOGGER not being defined.
