Skip to content

Set mongoids log level to INFO #11

Closed
wants to merge 2 commits into from
View
4 spec/support/mongoid_backend.rb
@@ -18,6 +18,7 @@ def self.authenticate_with_username_and_password(username, password)
config.resource_owner_class_name = 'ExampleResourceOwner'
end
+Mongoid.logger.level = Logger::INFO
Mongoid.configure do |config|
config.from_hash(
"host" => "127.0.0.1",
@@ -31,4 +32,5 @@ def self.authenticate_with_username_and_password(username, password)
"use_activesupport_time_zone" => true,
"database" => "oauth2_test"
)
-end
+end
+
Something went wrong with that request. Please try again.