Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Reduce Mongoid logging in production

  • Loading branch information...
commit 8e224f861dd17059725aba4db98f8a3cf22cd69f 1 parent 7db5ace
@hmans authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  config/boot.rb
View
1  config/boot.rb
@@ -27,6 +27,7 @@
Mongoid::Config.from_hash(
'uri' => ENV['MONGOLAB_URI'] || ENV['MONGOHQ_URL'] || ENV['MONGO_URL'] || 'mongodb://localhost/eventually'
)
+Mongoid.logger.level = 3 if Happy.env.production?
# A little MarkdownRenderer class for Redcarpet.
#
Please sign in to comment.
Something went wrong with that request. Please try again.