2013-04-24 54 views
1

當我啓動連接到mongodb的節點服務器時,我總是會收到這些消息,告訴我連接的狀態。我如何禁用這些消息?如何禁用在控制檯中登錄節點mongodb本地驅動程序連接

Wed Apr 24 13:28:17 [initandlisten] connection accepted from 127.0.0.1:55221 #304 (1 connection now open) 
Wed Apr 24 13:28:17 [initandlisten] connection accepted from 127.0.0.1:55222 #305 (2 connections now open) 
Wed Apr 24 13:28:17 [initandlisten] connection accepted from 127.0.0.1:55223 #306 (3 connections now open) 
Wed Apr 24 13:28:17 [initandlisten] connection accepted from 127.0.0.1:55224 #307 (4 connections now open) 
Wed Apr 24 13:28:17 [initandlisten] connection accepted from 127.0.0.1:55225 #308 (5 connections now open) 
Wed Apr 24 13:35:42 [conn308] end connection 127.0.0.1:55225 (4 connections now open) 
Wed Apr 24 13:35:42 [conn307] end connection 127.0.0.1:55224 (4 connections now open) 
Wed Apr 24 13:35:42 [conn306] end connection 127.0.0.1:55223 (4 connections now open) 
Wed Apr 24 13:35:42 [conn305] end connection 127.0.0.1:55222 (4 connections now open) 
Wed Apr 24 13:35:42 [conn304] end connection 127.0.0.1:55221 (4 connections now open) 

回答

3

此消息不是來自node.js或node-mongodb本地驅動程序。它來自mongo守護進程。

當開始mongo只是通過--quiet選項,此消息將消失。

相關問題