Reputation: 1016
Is there a way to disable MONGODB logs in the rails development.log file?
Currently running rails 3.2.7 with Mongoid as the driver.
Upvotes: 1
Views: 937
Reputation: 33145
In mongoid 2.2+, you can set it in the mongoid.yml file like so:
development:
...
logger: false
Not sure if that still works in mongoid 3. You might want to specify your mongoid version.
Upvotes: 1