how do I set the logging level to info for MongoDb?

前端 未结 3 651
无人共我
无人共我 2021-01-05 15:21

I have a Rails app that uses MongoDb on the back. I have these messages that say MONGODB [WARNING] Please note that logging negatively impacts client-side performance.

3条回答
  •  [愿得一人]
    2021-01-05 16:00

    Logging levels refer to rails logging levels whereas the -v flag refers to verbosity.

    Rails automatically sets the logging level higher in production than when in development so you shouldn't have anything to worry about.

提交回复
热议问题