If you are using mongoid 2.2 or higher, you can set it to mongoid.yml:
production: hosts: ... database: ... logger: false
In addition, it affects performance. When I turned off mongo logging in production, I saw that there were fewer garbage collections and traces of application instance memory less than 15 megabytes in 30 minute load tests using apachebench.
source share