MongoDB服务器安装及配置日志及日志使用

操作一个数据库,日志非常重要,定位问题几乎时时刻刻用到。所以如何配置,如何获取日志应该成为必备技能。以下搜集了一些参考资料,可以通过以下资料明白自己搭建MongoDB服务器如何配置日志及级别等,利于学习及备份。

举例一个稍微奇葩的应用场景,有一天某表数据莫名被删了,恢复后又莫名被删了,如果没人出来回应,有涉及到多个产品线,上百号人,那通过日志即使没人承认,也是非常快地可以知道是谁干的,是人干的还是程序干的。

其他的使用场景还有非常多,就不一一举例了。

mongod.cfg配置文件样例

#注意,缩进不对可能解析时会报错
systemLog:
#0到5,默认0
    verbosity: 1
    destination: file
    path: D:\app\tools-install\MongoDB\log\mongoserver.log
    logAppend: true
    component:
       accessControl:
        verbosity: 2
       command:
         verbosity: 2
      # COMMENT some component verbosity settings omitted for brevity
       write:
        verbosity: 2
       query:
        verbosity: 2
       index:
        verbosity: 2
       network:
        verbosity: 2
       executor:
        verbosity: 2
       control:
        verbosity: 2
storage:
    journal:
        enabled: true
    dbPath: D:\app\tools-install\MongoDB\data\db
net:
    port: 27017

#security:
    #authorization: enabled

除了在MongoDB配置文件配置外,还可以使用命令临时设置日志级别

db.getLogComponents();//查看
db.setLogLevel(2);//设置
db.setLogLevel(2, "command" );//command具体设置
db.setLogLevel(2, "query" );
db.setLogLevel(2, "write" );
db.setLogLevel(2, "index" );
db.setLogLevel(2, "network" );
db.setLogLevel(2, "executor" );
db.setLogLevel(2, "control" );
db.setLogLevel(2, "accessControl" );

几个资料的作用做下说明:

【Monogdb】MongoDB的日志系统,了解MongoDB的几类日志系统

Windows MongoDB安装配置,如何安装MongoDB,如何配置等

mongodb的配置文件详解,对MongoDB的配置文件官网说明做了中文翻译

mongo配置选项(官网),这里非常详细,参照这里学习即可

参考资料:

【Monogdb】MongoDB的日志系统

https://blog.csdn.net/stridebin/article/details/80346943

Windows MongoDB安装配置

https://www.cnblogs.com/shaosks/p/6589867.html

mongodb的配置文件详解

https://www.cnblogs.com/pbblogs/p/10178066.html

mongo配置选项(官网)

https://docs.mongodb.com/manual/reference/configuration-options/#configuration-options

mongo日志消息定义及各字段含义说明及其他延伸(官网)

https://docs.mongodb.com/manual/reference/log-messages/#log-severity-levels

获取所有日志组件及日志组件继承层次说明(官网)

https://docs.mongodb.com/manual/reference/method/db.getLogComponents/#db.getLogComponents

设置日志组件说明(官网)

https://docs.mongodb.com/manual/reference/method/db.setLogLevel/#db.setLogLevel

mongod样例systemLog日志

2019-07-11T11:39:40.881+0800 I CONTROL  [initandlisten] MongoDB starting : pid=5880 port=27017 dbpath=D:\app\tools-install\MongoDB\data\db 64-bit host=helloworld
2019-07-11T11:39:40.881+0800 I CONTROL  [initandlisten] targetMinOS: Windows 7/Windows Server 2008 R2
2019-07-11T11:39:40.881+0800 I CONTROL  [initandlisten] db version v3.6.3
2019-07-11T11:39:40.881+0800 I CONTROL  [initandlisten] git version: 9586e557d54ef70f9ca4b43c26892cd55257e1a5
2019-07-11T11:39:40.881+0800 I CONTROL  [initandlisten] OpenSSL version: OpenSSL 1.0.1u-fips  22 Sep 2016
2019-07-11T11:39:40.881+0800 I CONTROL  [initandlisten] allocator: tcmalloc
2019-07-11T11:39:40.881+0800 I CONTROL  [initandlisten] modules: enterprise 
2019-07-11T11:39:40.881+0800 I CONTROL  [initandlisten] build environment:
2019-07-11T11:39:40.881+0800 I CONTROL  [initandlisten]     distmod: windows-64
2019-07-11T11:39:40.881+0800 I CONTROL  [initandlisten]     distarch: x86_64
2019-07-11T11:39:40.881+0800 I CONTROL  [initandlisten]     target_arch: x86_64
2019-07-11T11:39:40.881+0800 I CONTROL  [initandlisten] options: { config: "D:\app\tools-install\mongodb-win32-x86_64-enterprise-windows-64-3.6.3\conf\mongd.cfg", net: { port: 27017 }, storage: { dbPath: "D:\app\tools-install\MongoDB\data\db", journal: { enabled: true } }, systemLog: { destination: "file", logAppend: true, path: "D:\app\tools-install\MongoDB\log\mongoserver.log", verbosity: 1 } }
2019-07-11T11:39:40.889+0800 I -        [initandlisten] Detected data files in D:\app\tools-install\MongoDB\data\db created by the 'wiredTiger' storage engine, so setting the active storage engine to 'wiredTiger'.
2019-07-11T11:39:40.889+0800 I STORAGE  [initandlisten] wiredtiger_open config: create,cache_size=3540M,session_max=20000,eviction=(threads_min=4,threads_max=4),config_base=false,statistics=(fast),log=(enabled=true,archive=true,path=journal,compressor=snappy),file_manager=(close_idle_time=100000),statistics_log=(wait=0),verbose=(recovery_progress),
2019-07-11T11:39:41.334+0800 I STORAGE  [initandlisten] WiredTiger message [1562816381:334517][5880:1997484928], txn-recover: Main recovery loop: starting at 109/24320
2019-07-11T11:39:41.556+0800 I STORAGE  [initandlisten] WiredTiger message [1562816381:556530][5880:1997484928], txn-recover: Recovering log 109 through 110
2019-07-11T11:39:41.709+0800 I STORAGE  [initandlisten] WiredTiger message [1562816381:709538][5880:1997484928], txn-recover: Recovering log 110 through 110
2019-07-11T11:39:42.298+0800 D COMMAND  [WTJournalFlusher] BackgroundJob starting: WTJournalFlusher
2019-07-11T11:39:42.299+0800 D STORAGE  [WTJournalFlusher] starting WTJournalFlusher thread
2019-07-11T11:39:42.299+0800 D COMMAND  [WTCheckpointThread] BackgroundJob starting: WTCheckpointThread
2019-07-11T11:39:42.299+0800 D STORAGE  [WTCheckpointThread] starting WTCheckpointThread thread
2019-07-11T11:39:42.431+0800 D STORAGE  [initandlisten] Slow WT transaction. Lifetime of SnapshotId 1 was 129ms
2019-07-11T11:39:42.475+0800 I CONTROL  [initandlisten] 
2019-07-11T11:39:42.475+0800 I CONTROL  [initandlisten] ** WARNING: Access control is not enabled for the database.
2019-07-11T11:39:42.475+0800 I CONTROL  [initandlisten] **          Read and write access to data and configuration is unrestricted.
2019-07-11T11:39:42.475+0800 I CONTROL  [initandlisten] 
2019-07-11T11:39:42.475+0800 I CONTROL  [initandlisten] ** WARNING: This server is bound to localhost.
2019-07-11T11:39:42.475+0800 I CONTROL  [initandlisten] **          Remote systems will be unable to connect to this server. 
2019-07-11T11:39:42.475+0800 I CONTROL  [initandlisten] **          Start the server with --bind_ip 
to specify which IP 2019-07-11T11:39:42.475+0800 I CONTROL [initandlisten] ** addresses it should serve responses from, or with --bind_ip_all to 2019-07-11T11:39:42.475+0800 I CONTROL [initandlisten] ** bind to all interfaces. If this behavior is desired, start the 2019-07-11T11:39:42.475+0800 I CONTROL [initandlisten] ** server with --bind_ip 127.0.0.1 to disable this warning. 2019-07-11T11:39:42.476+0800 I CONTROL [initandlisten] 2019-07-11T11:39:42.476+0800 I CONTROL [initandlisten] Hotfix KB2731284 or later update is not installed, will zero-out data files. 2019-07-11T11:39:42.476+0800 I CONTROL [initandlisten] 2019-07-11T11:39:42.476+0800 I CONTROL [initandlisten] ** WARNING: The file system cache of this machine is configured to be greater than 40% of the total memory. This can lead to increased memory pressure and poor performance. 2019-07-11T11:39:42.476+0800 I CONTROL [initandlisten] See http://dochub.mongodb.org/core/wt-windows-system-file-cache 2019-07-11T11:39:42.476+0800 I CONTROL [initandlisten] 2019-07-11T11:39:42.482+0800 D COMMAND [SNMPAgent] BackgroundJob starting: SNMPAgent 2019-07-11T11:39:42.482+0800 D NETWORK [SNMPAgent] SNMPAgent not enabled 2019-07-11T11:39:42.484+0800 D STORAGE [initandlisten] enter repairDatabases (to check pdfile version #) 2019-07-11T11:39:42.782+0800 D STORAGE [initandlisten] local.startup_log: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.782+0800 D - [initandlisten] reloading view catalog for database local 2019-07-11T11:39:42.783+0800 D STORAGE [initandlisten] Recovering database: admin 2019-07-11T11:39:42.784+0800 D STORAGE [initandlisten] admin.system.users: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.784+0800 D STORAGE [initandlisten] admin.system.version: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.784+0800 D - [initandlisten] reloading view catalog for database admin 2019-07-11T11:39:42.785+0800 D STORAGE [initandlisten] Recovering database: config 2019-07-11T11:39:42.786+0800 D STORAGE [initandlisten] config.system.sessions: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.786+0800 D - [initandlisten] reloading view catalog for database config 2019-07-11T11:39:42.786+0800 D STORAGE [initandlisten] Recovering database: local 2019-07-11T11:39:42.786+0800 D STORAGE [initandlisten] Recovering database: sxbl 2019-07-11T11:39:42.786+0800 D STORAGE [initandlisten] sxbl.CodeDataConfiguration: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.787+0800 D STORAGE [initandlisten] sxbl.CsLhbsSyncData: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.788+0800 D STORAGE [initandlisten] sxbl.CsSxslSwsxDzbzdszl: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.789+0800 D STORAGE [initandlisten] sxbl.CsYsqSwjgConf: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.790+0800 D STORAGE [initandlisten] sxbl.CsYsqSwsx: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.790+0800 D STORAGE [initandlisten] sxbl.CsYsqSwsxYwy: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.791+0800 D STORAGE [initandlisten] sxbl.CsYsqSwsx_copy: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.791+0800 D STORAGE [initandlisten] sxbl.CsZlpzPzmb: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.792+0800 D STORAGE [initandlisten] sxbl.CsZlpzSwsxFlzl: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.792+0800 D STORAGE [initandlisten] sxbl.CsZlpzSwsxFlzlDz: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.793+0800 D STORAGE [initandlisten] sxbl.CsZlpzSwsxZb: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.793+0800 D STORAGE [initandlisten] sxbl.CsZlpzTcbsYwbmFlzl: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.794+0800 D STORAGE [initandlisten] sxbl.DmGyFlzl: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.794+0800 D STORAGE [initandlisten] sxbl.DmGyFlzl_backup: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.795+0800 D STORAGE [initandlisten] sxbl.DmGyFlzlbslx: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.795+0800 D STORAGE [initandlisten] sxbl.DmGyFlzlcllx: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.795+0800 D STORAGE [initandlisten] sxbl.DmGySwsx: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.796+0800 D STORAGE [initandlisten] sxbl.DmSxslSwsxSwjgSwry: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.796+0800 D STORAGE [initandlisten] sxbl.DmSxslWsnrHqfs: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.797+0800 D STORAGE [initandlisten] sxbl.DmYsqSxzt: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.797+0800 D STORAGE [initandlisten] sxbl.GzlCsFlzlgl: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.798+0800 D STORAGE [initandlisten] sxbl.aBizLogVo: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.798+0800 D STORAGE [initandlisten] sxbl.applicationVerifyResultVO: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.799+0800 D STORAGE [initandlisten] sxbl.arrFieldVO: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.800+0800 D STORAGE [initandlisten] sxbl.auditLogVo: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.800+0800 D STORAGE [initandlisten] sxbl.bizTestDataVO: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.800+0800 D STORAGE [initandlisten] sxbl.bqkYhxlsVo: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.801+0800 D STORAGE [initandlisten] sxbl.bqkZtVo: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.802+0800 D STORAGE [initandlisten] sxbl.create_indexes_to_support_queries: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.802+0800 D STORAGE [initandlisten] sxbl.csgySlswsxLcswsxDzbVo: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.803+0800 D STORAGE [initandlisten] sxbl.data: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.804+0800 D STORAGE [initandlisten] sxbl.dbzwh.chunks: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.805+0800 D STORAGE [initandlisten] sxbl.dbzwh.files: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.805+0800 D STORAGE [initandlisten] sxbl.dlStVO: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.806+0800 D STORAGE [initandlisten] sxbl.dmgySwsxVo: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.806+0800 D STORAGE [initandlisten] sxbl.dsrwVo: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.807+0800 D STORAGE [initandlisten] sxbl.dyrglVo: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.808+0800 D STORAGE [initandlisten] sxbl.dyrywVo: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.808+0800 D STORAGE [initandlisten] sxbl.elementVerifyResultVO: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.809+0800 D STORAGE [initandlisten] sxbl.fruit: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.809+0800 D STORAGE [initandlisten] sxbl.fs.chunks: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.810+0800 D STORAGE [initandlisten] sxbl.fs.files: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.812+0800 D STORAGE [initandlisten] sxbl.inventory: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.812+0800 D STORAGE [initandlisten] sxbl.jkcspzVo: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.813+0800 D STORAGE [initandlisten] sxbl.jkddRzVO: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.814+0800 D STORAGE [initandlisten] sxbl.jkxxRzKzVo: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.814+0800 D STORAGE [initandlisten] sxbl.jkxxRzVo: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.815+0800 D STORAGE [initandlisten] sxbl.jmsbTestVO: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.816+0800 D STORAGE [initandlisten] sxbl.lhbsSyncDataRzVO: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.819+0800 D STORAGE [initandlisten] sxbl.mLogEnty: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.821+0800 D STORAGE [initandlisten] sxbl.myColl: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.822+0800 D STORAGE [initandlisten] sxbl.names: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.823+0800 D STORAGE [initandlisten] sxbl.nsrXydjVO: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.824+0800 D STORAGE [initandlisten] sxbl.nsrzxDjbzVO: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.824+0800 D STORAGE [initandlisten] sxbl.nsrzxSbqcVo: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.825+0800 D STORAGE [initandlisten] sxbl.orders: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.825+0800 D STORAGE [initandlisten] sxbl.rfclxxdlbVo: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.826+0800 D STORAGE [initandlisten] sxbl.rootTcbsYsqRzVO: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.827+0800 D STORAGE [initandlisten] sxbl.rwddRwrqLogVO: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.827+0800 D STORAGE [initandlisten] sxbl.sbPdfGdLogVo: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.828+0800 D STORAGE [initandlisten] sxbl.sbqcrzbVo: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.829+0800 D STORAGE [initandlisten] sxbl.scores: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.830+0800 D STORAGE [initandlisten] sxbl.sparse_collection: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.830+0800 D STORAGE [initandlisten] sxbl.sxblTipsVO: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.831+0800 D STORAGE [initandlisten] sxbl.sxslShVersion: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.831+0800 D STORAGE [initandlisten] sxbl.system.profile: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.831+0800 D STORAGE [initandlisten] sxbl.system_profile: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.833+0800 D STORAGE [initandlisten] sxbl.tcbsRzVO: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.833+0800 D STORAGE [initandlisten] sxbl.testVO: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.834+0800 D STORAGE [initandlisten] sxbl.thirdparty.AccessResource: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.835+0800 D STORAGE [initandlisten] sxbl.thirdparty.SimplePermission: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.836+0800 D STORAGE [initandlisten] sxbl.wbbwhcVo: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.836+0800 D STORAGE [initandlisten] sxbl.xjgqcmcVo: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.837+0800 D STORAGE [initandlisten] sxbl.xxzxHszVo: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.837+0800 D STORAGE [initandlisten] sxbl.xxzxMesSendVO: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.838+0800 D STORAGE [initandlisten] sxbl.xxzxMesVO: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.839+0800 D STORAGE [initandlisten] sxbl.ysqCfybtjRzVO: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.840+0800 D STORAGE [initandlisten] sxbl.ysqCsRzVO: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.841+0800 D STORAGE [initandlisten] sxbl.ysqGyWsWszb: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.842+0800 D STORAGE [initandlisten] sxbl.ysqGyWsWszbRzVO: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.842+0800 D STORAGE [initandlisten] sxbl.ysqGzRzVO: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.843+0800 D STORAGE [initandlisten] sxbl.ysqJyxxVO: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.844+0800 D STORAGE [initandlisten] sxbl.ysqRzVO: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.845+0800 D STORAGE [initandlisten] sxbl.ysqSxblAutoCommitRzVO: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.846+0800 D STORAGE [initandlisten] sxbl.ysqSxblSplhRzVO: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.848+0800 D STORAGE [initandlisten] sxbl.ysqSxblSxjdRzVO: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.851+0800 D STORAGE [initandlisten] sxbl.ysqSxslSxfp: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.851+0800 D STORAGE [initandlisten] sxbl.ysqSxslSxfp_copy: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.853+0800 D STORAGE [initandlisten] sxbl.ysqSxsqPzxx: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.853+0800 D STORAGE [initandlisten] sxbl.ysqSxsqPzxx_copy: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.854+0800 D STORAGE [initandlisten] sxbl.ysqSxsqSfxyxx: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.854+0800 D STORAGE [initandlisten] sxbl.ysqTbsmVO: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.855+0800 D STORAGE [initandlisten] sxbl.ysqYgdRzVO: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.856+0800 D STORAGE [initandlisten] sxbl.ysqYsqxxSx: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.857+0800 D STORAGE [initandlisten] sxbl.ysqYsqxxSxRzVO: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.857+0800 D STORAGE [initandlisten] sxbl.ysqYzqJcjcxxVO: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.858+0800 D STORAGE [initandlisten] sxbl.ysqxxTjbwVO: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.863+0800 D STORAGE [initandlisten] sxbl.ysqxxVO: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.864+0800 D STORAGE [initandlisten] sxbl.ysqxxZcbwVO: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.865+0800 D STORAGE [initandlisten] sxbl.ywxxVo: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.868+0800 D STORAGE [initandlisten] sxbl.yzqYzqxx: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.869+0800 D STORAGE [initandlisten] sxbl.yzqYzqxxNeedCheckRzVO: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.870+0800 D STORAGE [initandlisten] sxbl.yzqYzqxxRzVO: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.871+0800 D STORAGE [initandlisten] sxbl.yzqYzqxxSdhzVO: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.871+0800 D STORAGE [initandlisten] sxbl.yzqYzqxxZdqfRzVO: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.872+0800 D STORAGE [initandlisten] sxbl.zlpzSxVO: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.873+0800 D STORAGE [initandlisten] sxbl.zlpzWddz: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.874+0800 D STORAGE [initandlisten] sxbl.zlpzWdzlk: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.875+0800 D STORAGE [initandlisten] sxbl.zlpzWsGdRwVO: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.875+0800 D STORAGE [initandlisten] sxbl.zlpzxxRecogVO: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.876+0800 D STORAGE [initandlisten] sxbl.zlpzxxVO: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.877+0800 D STORAGE [initandlisten] sxbl.znsbSxRzVO: clearing plan cache - collection info cache reset 2019-07-11T11:39:42.877+0800 D - [initandlisten] reloading view catalog for database sxbl 2019-07-11T11:39:42.877+0800 D STORAGE [initandlisten] done repairDatabases 2019-07-11T11:39:42.877+0800 D STORAGE [initandlisten] Slow WT transaction. Lifetime of SnapshotId 3 was 393ms 2019-07-11T11:39:42.878+0800 I COMMAND [initandlisten] command admin.system.roles command: find { find: "system.roles", $db: "admin" } planSummary: EOF keysExamined:0 docsExamined:0 cursorExhausted:1 numYields:0 nreturned:0 reslen:91 locks:{ Global: { acquireCount: { r: 8, w: 1, W: 3 } }, Database: { acquireCount: { r: 2, W: 1 } }, Collection: { acquireCount: { r: 2 } } } protocol:op_msg 0ms 2019-07-11T11:39:44.386+0800 I FTDC [initandlisten] Initializing full-time diagnostic data capture with directory 'D:/app/tools-install/MongoDB/data/db/diagnostic.data' 2019-07-11T11:39:44.391+0800 D INDEX [initandlisten] checking complete 2019-07-11T11:39:44.392+0800 D COMMAND [TTLMonitor] BackgroundJob starting: TTLMonitor 2019-07-11T11:39:44.393+0800 D COMMAND [ClientCursorMonitor] BackgroundJob starting: ClientCursorMonitor 2019-07-11T11:39:44.396+0800 D COMMAND [PeriodicTaskRunner] BackgroundJob starting: PeriodicTaskRunner 2019-07-11T11:39:44.400+0800 I NETWORK [initandlisten] waiting for connections on port 27017 2019-07-11T11:39:50.358+0800 I NETWORK [listener] connection accepted from 127.0.0.1:50678 #1 (1 connection now open) 2019-07-11T11:39:50.360+0800 I NETWORK [conn1] received client metadata from 127.0.0.1:50678 conn: { driver: { name: "mongo-csharp-driver", version: "0.0.0.0" }, os: { type: "Windows", name: "Microsoft Windows NT 6.1.7601 Service Pack 1", architecture: "x86_64", version: "6.1.7601.65536" }, platform: ".NET Framework 4.5" } 2019-07-11T11:39:50.360+0800 I COMMAND [conn1] command admin.$cmd command: isMaster { isMaster: 1, client: { driver: { name: "mongo-csharp-driver", version: "0.0.0.0" }, os: { type: "Windows", name: "Microsoft Windows NT 6.1.7601 Service Pack 1", architecture: "x86_64", version: "6.1.7601.65536" }, platform: ".NET Framework 4.5" }, saslSupportedMechs: "sxbl.app", $readPreference: { mode: "secondaryPreferred" }, $db: "admin" } numYields:0 reslen:223 locks:{} protocol:op_query 0ms 2019-07-11T11:39:50.362+0800 I COMMAND [conn1] command admin.$cmd command: buildInfo { buildInfo: 1, $readPreference: { mode: "secondaryPreferred" }, $db: "admin" } numYields:0 reslen:1238 locks:{} protocol:op_query 0ms 2019-07-11T11:39:50.367+0800 I COMMAND [conn1] command admin.system.users command: saslStart { saslStart: 1, mechanism: "SCRAM-SHA-1", payload: "xxx", $readPreference: { mode: "secondaryPreferred" }, $db: "sxbl" } numYields:0 reslen:167 locks:{ Global: { acquireCount: { r: 2 } }, Database: { acquireCount: { r: 1 } }, Collection: { acquireCount: { r: 1 } } } protocol:op_query 3ms 2019-07-11T11:39:50.418+0800 I COMMAND [conn1] command sxbl.$cmd command: saslContinue { saslContinue: 1, conversationId: 1, payload: BinData(0, 633D626977732C723D775931796D3C657A76233775535C212E2160626D534E444B5879643276587235614F7A67595A7035773641774D7971574467346B2C703D7856466E6350...), $readPreference: { mode: "secondaryPreferred" }, $db: "sxbl" } numYields:0 reslen:108 locks:{} protocol:op_query 0ms 2019-07-11T11:39:50.419+0800 I ACCESS [conn1] Successfully authenticated as principal app on sxbl 2019-07-11T11:39:50.420+0800 I COMMAND [conn1] command admin.system.users command: saslContinue { saslContinue: 1, conversationId: 1, payload: BinData(0, ), $readPreference: { mode: "secondaryPreferred" }, $db: "sxbl" } numYields:0 reslen:78 locks:{ Global: { acquireCount: { r: 2 } }, Database: { acquireCount: { r: 1 } }, Collection: { acquireCount: { r: 1 } } } protocol:op_query 0ms 2019-07-11T11:39:50.420+0800 I COMMAND [conn1] command admin.$cmd command: getLastError { getLastError: 1, $readPreference: { mode: "secondaryPreferred" }, $db: "admin" } numYields:0 reslen:94 locks:{} protocol:op_query 0ms 2019-07-11T11:39:50.421+0800 I COMMAND [conn1] command admin.$cmd command: isMaster { isMaster: 1, $db: "admin", $readPreference: { mode: "primaryPreferred" } } numYields:0 reslen:208 locks:{} protocol:op_msg 0ms 2019-07-11T11:39:50.421+0800 I COMMAND [conn1] command admin.$cmd command: buildInfo { buildInfo: 1, $db: "admin", $readPreference: { mode: "primaryPreferred" } } numYields:0 reslen:1223 locks:{} protocol:op_msg 0ms 2019-07-11T11:40:00.354+0800 I COMMAND [conn1] command admin.$cmd command: isMaster { isMaster: 1, $db: "admin", $readPreference: { mode: "primaryPreferred" } } numYields:0 reslen:208 locks:{} protocol:op_msg 0ms 2019-07-11T11:40:00.355+0800 I COMMAND [conn1] command admin.$cmd command: buildInfo { buildInfo: 1, $db: "admin", $readPreference: { mode: "primaryPreferred" } } numYields:0 reslen:1223 locks:{} protocol:op_msg 0ms 2019-07-11T11:40:10.355+0800 I COMMAND [conn1] command admin.$cmd command: isMaster { isMaster: 1, $db: "admin", $readPreference: { mode: "primaryPreferred" } } numYields:0 reslen:208 locks:{} protocol:op_msg 0ms 2019-07-11T11:40:10.357+0800 I COMMAND [conn1] command admin.$cmd command: buildInfo { buildInfo: 1, $db: "admin", $readPreference: { mode: "primaryPreferred" } } numYields:0 reslen:1223 locks:{} protocol:op_msg 0ms 2019-07-11T11:40:20.353+0800 I COMMAND [conn1] command admin.$cmd command: isMaster { isMaster: 1, $db: "admin", $readPreference: { mode: "primaryPreferred" } } numYields:0 reslen:208 locks:{} protocol:op_msg 0ms 2019-07-11T11:40:20.355+0800 I COMMAND [conn1] command admin.$cmd command: buildInfo { buildInfo: 1, $db: "admin", $readPreference: { mode: "primaryPreferred" } } numYields:0 reslen:1223 locks:{} protocol:op_msg 0ms 2019-07-11T11:40:30.353+0800 I COMMAND [conn1] command admin.$cmd command: isMaster { isMaster: 1, $db: "admin", $readPreference: { mode: "primaryPreferred" } } numYields:0 reslen:208 locks:{} protocol:op_msg 0ms 2019-07-11T11:40:30.354+0800 I COMMAND [conn1] command admin.$cmd command: buildInfo { buildInfo: 1, $db: "admin", $readPreference: { mode: "primaryPreferred" } } numYields:0 reslen:1223 locks:{} protocol:op_msg 0ms 2019-07-11T11:40:40.353+0800 I COMMAND [conn1] command admin.$cmd command: isMaster { isMaster: 1, $db: "admin", $readPreference: { mode: "primaryPreferred" } } numYields:0 reslen:208 locks:{} protocol:op_msg 0ms 2019-07-11T11:40:40.354+0800 I COMMAND [conn1] command admin.$cmd command: buildInfo { buildInfo: 1, $db: "admin", $readPreference: { mode: "primaryPreferred" } } numYields:0 reslen:1223 locks:{} protocol:op_msg 0ms 2019-07-11T11:40:41.051+0800 I NETWORK [listener] connection accepted from 127.0.0.1:50679 #2 (2 connections now open) 2019-07-11T11:40:41.052+0800 I NETWORK [conn2] received client metadata from 127.0.0.1:50679 conn: { driver: { name: "mongo-csharp-driver", version: "0.0.0.0" }, os: { type: "Windows", name: "Microsoft Windows NT 6.1.7601 Service Pack 1", architecture: "x86_64", version: "6.1.7601.65536" }, platform: ".NET Framework 4.5" } 2019-07-11T11:40:41.052+0800 I COMMAND [conn2] command admin.$cmd command: isMaster { isMaster: 1, client: { driver: { name: "mongo-csharp-driver", version: "0.0.0.0" }, os: { type: "Windows", name: "Microsoft Windows NT 6.1.7601 Service Pack 1", architecture: "x86_64", version: "6.1.7601.65536" }, platform: ".NET Framework 4.5" }, saslSupportedMechs: "sxbl.app", $readPreference: { mode: "secondaryPreferred" }, $db: "admin" } numYields:0 reslen:223 locks:{} protocol:op_query 0ms 2019-07-11T11:40:41.053+0800 I COMMAND [conn2] command admin.$cmd command: buildInfo { buildInfo: 1, $readPreference: { mode: "secondaryPreferred" }, $db: "admin" } numYields:0 reslen:1238 locks:{} protocol:op_query 0ms 2019-07-11T11:40:41.059+0800 I COMMAND [conn2] command sxbl.$cmd command: saslStart { saslStart: 1, mechanism: "SCRAM-SHA-1", payload: "xxx", $readPreference: { mode: "secondaryPreferred" }, $db: "sxbl" } numYields:0 reslen:167 locks:{} protocol:op_query 0ms 2019-07-11T11:40:41.123+0800 I COMMAND [conn2] command sxbl.$cmd command: saslContinue { saslContinue: 1, conversationId: 1, payload: BinData(0, 633D626977732C723D373771695F42664F5E225B2A546B6E476F7240232F623962387051484E73794B564B3563446E3552523135452B6B6D493550556F2C703D624943453472...), $readPreference: { mode: "secondaryPreferred" }, $db: "sxbl" } numYields:0 reslen:108 locks:{} protocol:op_query 0ms 2019-07-11T11:40:41.123+0800 I ACCESS [conn2] Successfully authenticated as principal app on sxbl 2019-07-11T11:40:41.123+0800 I COMMAND [conn2] command sxbl.$cmd command: saslContinue { saslContinue: 1, conversationId: 1, payload: BinData(0, ), $readPreference: { mode: "secondaryPreferred" }, $db: "sxbl" } numYields:0 reslen:78 locks:{} protocol:op_query 0ms 2019-07-11T11:40:41.123+0800 I COMMAND [conn2] command admin.$cmd command: getLastError { getLastError: 1, $readPreference: { mode: "secondaryPreferred" }, $db: "admin" } numYields:0 reslen:94 locks:{} protocol:op_query 0ms 2019-07-11T11:40:41.168+0800 I NETWORK [listener] connection accepted from 127.0.0.1:50680 #3 (3 connections now open) 2019-07-11T11:40:41.168+0800 I NETWORK [conn3] received client metadata from 127.0.0.1:50680 conn: { driver: { name: "mongo-csharp-driver", version: "0.0.0.0" }, os: { type: "Windows", name: "Microsoft Windows NT 6.1.7601 Service Pack 1", architecture: "x86_64", version: "6.1.7601.65536" }, platform: ".NET Framework 4.5" } 2019-07-11T11:40:41.168+0800 I COMMAND [conn3] command admin.$cmd command: isMaster { isMaster: 1, client: { driver: { name: "mongo-csharp-driver", version: "0.0.0.0" }, os: { type: "Windows", name: "Microsoft Windows NT 6.1.7601 Service Pack 1", architecture: "x86_64", version: "6.1.7601.65536" }, platform: ".NET Framework 4.5" }, saslSupportedMechs: "sxbl.app", $readPreference: { mode: "secondaryPreferred" }, $db: "admin" } numYields:0 reslen:223 locks:{} protocol:op_query 0ms 2019-07-11T11:40:41.169+0800 I COMMAND [conn3] command admin.$cmd command: buildInfo { buildInfo: 1, $readPreference: { mode: "secondaryPreferred" }, $db: "admin" } numYields:0 reslen:1238 locks:{} protocol:op_query 0ms 2019-07-11T11:40:41.170+0800 I COMMAND [conn3] command sxbl.$cmd command: saslStart { saslStart: 1, mechanism: "SCRAM-SHA-1", payload: "xxx", $readPreference: { mode: "secondaryPreferred" }, $db: "sxbl" } numYields:0 reslen:167 locks:{} protocol:op_query 0ms 2019-07-11T11:40:41.171+0800 I COMMAND [conn2] command sxbl.aBizLogVo command: collStats { collstats: "aBizLogVo", $db: "sxbl" } numYields:0 reslen:20244 locks:{ Global: { acquireCount: { r: 2 } }, Database: { acquireCount: { r: 1 } }, Collection: { acquireCount: { r: 1 } } } protocol:op_msg 46ms 2019-07-11T11:40:41.212+0800 I COMMAND [conn3] command sxbl.$cmd command: saslContinue { saslContinue: 1, conversationId: 1, payload: BinData(0, 633D626977732C723D2530326D677C5F37235A586B60576627617129677273533075327645684A51493336317172325475484D74704E4B4C35366663642C703D54482F6E7076...), $readPreference: { mode: "secondaryPreferred" }, $db: "sxbl" } numYields:0 reslen:108 locks:{} protocol:op_query 0ms 2019-07-11T11:40:41.212+0800 I ACCESS [conn3] Successfully authenticated as principal app on sxbl 2019-07-11T11:40:41.212+0800 I COMMAND [conn3] command sxbl.$cmd command: saslContinue { saslContinue: 1, conversationId: 1, payload: BinData(0, ), $readPreference: { mode: "secondaryPreferred" }, $db: "sxbl" } numYields:0 reslen:78 locks:{} protocol:op_query 0ms 2019-07-11T11:40:41.213+0800 I COMMAND [conn3] command admin.$cmd command: getLastError { getLastError: 1, $readPreference: { mode: "secondaryPreferred" }, $db: "admin" } numYields:0 reslen:94 locks:{} protocol:op_query 0ms 2019-07-11T11:40:41.249+0800 I COMMAND [conn3] command sxbl command: dbStats { dbStats: 1, $db: "sxbl" } numYields:0 reslen:227 locks:{ Global: { acquireCount: { r: 2 } }, Database: { acquireCount: { R: 1 } } } protocol:op_msg 36ms 2019-07-11T11:40:44.394+0800 D INDEX [TTLMonitor] ns: config.system.sessions key: { lastUse: 1 } name: lsidTTLIndex 2019-07-11T11:40:44.394+0800 D INDEX [TTLMonitor] deleted: 0 2019-07-11T11:40:44.453+0800 I NETWORK [listener] connection accepted from 127.0.0.1:50681 #4 (4 connections now open) 2019-07-11T11:40:44.454+0800 I NETWORK [conn4] received client metadata from 127.0.0.1:50681 conn: { application: { name: "MongoDB Shell" }, driver: { name: "MongoDB Internal Client", version: "3.6.2" }, os: { type: "Windows", name: "Microsoft Windows 7", architecture: "x86_64", version: "6.1 SP1 (build 7601)" } } 2019-07-11T11:40:44.454+0800 I COMMAND [conn4] command admin.$cmd appName: "MongoDB Shell" command: isMaster { isMaster: 1, client: { application: { name: "MongoDB Shell" }, driver: { name: "MongoDB Internal Client", version: "3.6.2" }, os: { type: "Windows", name: "Microsoft Windows 7", architecture: "x86_64", version: "6.1 SP1 (build 7601)" } }, $db: "admin" } numYields:0 reslen:223 locks:{} protocol:op_query 0ms 2019-07-11T11:40:44.454+0800 I COMMAND [conn4] command admin.$cmd appName: "MongoDB Shell" command: whatsmyuri { whatsmyuri: 1, $db: "admin" } numYields:0 reslen:47 locks:{} protocol:op_msg 0ms 2019-07-11T11:40:44.455+0800 I COMMAND [conn4] command admin.$cmd appName: "MongoDB Shell" command: buildInfo { buildinfo: 1.0, $db: "admin" } numYields:0 reslen:1223 locks:{} protocol:op_msg 0ms 2019-07-11T11:40:44.456+0800 I COMMAND [conn4] command sxbl.$cmd appName: "MongoDB Shell" command: saslStart { saslStart: 1, mechanism: "SCRAM-SHA-1", payload: "xxx", $db: "sxbl" } numYields:0 reslen:164 locks:{} protocol:op_msg 0ms 2019-07-11T11:40:44.472+0800 I COMMAND [conn4] command sxbl.$cmd appName: "MongoDB Shell" command: saslContinue { saslContinue: 1, payload: BinData(0, 633D626977732C723D68524F67636F722F506F506F6A7033396D556B473957585342764450624A7A48796454414A622F444856676F5241557441664551683070376266355A4A...), conversationId: 1, $db: "sxbl" } numYields:0 reslen:93 locks:{} protocol:op_msg 0ms 2019-07-11T11:40:44.473+0800 I ACCESS [conn4] Successfully authenticated as principal app on sxbl 2019-07-11T11:40:44.473+0800 I COMMAND [conn4] command sxbl.$cmd appName: "MongoDB Shell" command: saslContinue { saslContinue: 1, payload: BinData(0, ), conversationId: 1, $db: "sxbl" } numYields:0 reslen:63 locks:{} protocol:op_msg 0ms 2019-07-11T11:40:44.475+0800 I COMMAND [conn4] command test.$cmd appName: "MongoDB Shell" command: buildInfo { buildInfo: 1.0, $db: "test" } numYields:0 reslen:1223 locks:{} protocol:op_msg 0ms 2019-07-11T11:40:44.476+0800 I COMMAND [conn4] command test.$cmd appName: "MongoDB Shell" command: isMaster { isMaster: 1.0, forShell: 1.0, $db: "test" } numYields:0 reslen:208 locks:{} protocol:op_msg 0ms 2019-07-11T11:40:44.476+0800 I COMMAND [conn4] command admin.$cmd appName: "MongoDB Shell" command: replSetGetStatus { replSetGetStatus: 1.0, forShell: 1.0, $db: "admin" } numYields:0 reslen:106 locks:{} protocol:op_msg 0ms 2019-07-11T11:40:49.060+0800 I COMMAND [conn4] command sxbl.fruit appName: "MongoDB Shell" command: find { find: "fruit", filter: {}, $db: "sxbl" } planSummary: COLLSCAN keysExamined:0 docsExamined:3 cursorExhausted:1 numYields:0 nreturned:3 reslen:209 locks:{ Global: { acquireCount: { r: 2 } }, Database: { acquireCount: { r: 1 } }, Collection: { acquireCount: { r: 1 } } } protocol:op_msg 0ms 2019-07-11T11:40:50.353+0800 I COMMAND [conn1] command admin.$cmd command: isMaster { isMaster: 1, $db: "admin", $readPreference: { mode: "primaryPreferred" } } numYields:0 reslen:208 locks:{} protocol:op_msg 0ms 2019-07-11T11:40:50.354+0800 I COMMAND [conn1] command admin.$cmd command: buildInfo { buildInfo: 1, $db: "admin", $readPreference: { mode: "primaryPreferred" } } numYields:0 reslen:1223 locks:{} protocol:op_msg 0ms 2019-07-11T11:40:53.406+0800 I COMMAND [conn4] CMD: drop sxbl.fruit 2019-07-11T11:40:53.406+0800 D STORAGE [conn4] dropCollection: sxbl.fruit 2019-07-11T11:40:53.406+0800 D STORAGE [conn4] dropCollection: sxbl.fruit - dropAllIndexes start 2019-07-11T11:40:53.406+0800 D INDEX [conn4] dropAllIndexes dropping: { v: 2, key: { _id: 1 }, name: "_id_", ns: "sxbl.fruit" } 2019-07-11T11:40:53.406+0800 D STORAGE [conn4] sxbl.fruit: clearing plan cache - collection info cache reset 2019-07-11T11:40:53.406+0800 D STORAGE [conn4] dropCollection: sxbl.fruit - dropAllIndexes done 2019-07-11T11:40:53.406+0800 I STORAGE [conn4] Finishing collection drop for sxbl.fruit (cd513077-dada-4c90-b515-5b63934b4665). 2019-07-11T11:40:53.407+0800 D STORAGE [conn4] deleting metadata for sxbl.fruit @ RecordId(182) 2019-07-11T11:40:53.445+0800 D STORAGE [conn4] WT drop of table:index-1-2938276547367425295 res 0 2019-07-11T11:40:53.445+0800 D STORAGE [conn4] ~WiredTigerRecordStore for: sxbl.fruit 2019-07-11T11:40:53.486+0800 D STORAGE [conn4] WT drop of table:collection-0-2938276547367425295 res 0 2019-07-11T11:40:53.486+0800 I COMMAND [conn4] command sxbl.fruit appName: "MongoDB Shell" command: drop { drop: "fruit", $db: "sxbl" } numYields:0 reslen:61 locks:{ Global: { acquireCount: { r: 1, w: 1 } }, Database: { acquireCount: { W: 1 } } } protocol:op_msg 80ms 2019-07-11T11:40:55.444+0800 I COMMAND [conn3] command sxbl.DmGyFlzl command: collStats { collstats: "DmGyFlzl", $db: "sxbl" } numYields:0 reslen:13483 locks:{ Global: { acquireCount: { r: 2 } }, Database: { acquireCount: { r: 1 } }, Collection: { acquireCount: { r: 1 } } } protocol:op_msg 5ms 2019-07-11T11:41:00.354+0800 I COMMAND [conn1] command admin.$cmd command: isMaster { isMaster: 1, $db: "admin", $readPreference: { mode: "primaryPreferred" } } numYields:0 reslen:208 locks:{} protocol:op_msg 0ms 2019-07-11T11:41:00.356+0800 I COMMAND [conn1] command admin.$cmd command: buildInfo { buildInfo: 1, $db: "admin", $readPreference: { mode: "primaryPreferred" } } numYields:0 reslen:1223 locks:{} protocol:op_msg 0ms 2019-07-11T11:41:10.353+0800 I COMMAND [conn1] command admin.$cmd command: isMaster { isMaster: 1, $db: "admin", $readPreference: { mode: "primaryPreferred" } } numYields:0 reslen:208 locks:{} protocol:op_msg 0ms 2019-07-11T11:41:10.353+0800 I COMMAND [conn1] command admin.$cmd command: buildInfo { buildInfo: 1, $db: "admin", $readPreference: { mode: "primaryPreferred" } } numYields:0 reslen:1223 locks:{} protocol:op_msg 0ms 2019-07-11T11:41:20.345+0800 I COMMAND [conn1] command admin.$cmd command: isMaster { isMaster: 1, $db: "admin", $readPreference: { mode: "primaryPreferred" } } numYields:0 reslen:208 locks:{} protocol:op_msg 0ms 2019-07-11T11:41:20.345+0800 I COMMAND [conn1] command admin.$cmd command: buildInfo { buildInfo: 1, $db: "admin", $readPreference: { mode: "primaryPreferred" } } numYields:0 reslen:1223 locks:{} protocol:op_msg 0ms 2019-07-11T11:41:20.360+0800 I COMMAND [conn1] command admin.$cmd command: isMaster { isMaster: 1, $db: "admin", $readPreference: { mode: "primaryPreferred" } } numYields:0 reslen:208 locks:{} protocol:op_msg 0ms 2019-07-11T11:41:20.360+0800 I COMMAND [conn1] command admin.$cmd command: buildInfo { buildInfo: 1, $db: "admin", $readPreference: { mode: "primaryPreferred" } } numYields:0 reslen:1223 locks:{} protocol:op_msg 0ms 2019-07-11T11:41:30.362+0800 I COMMAND [conn1] command admin.$cmd command: isMaster { isMaster: 1, $db: "admin", $readPreference: { mode: "primaryPreferred" } } numYields:0 reslen:208 locks:{} protocol:op_msg 0ms 2019-07-11T11:41:30.363+0800 I COMMAND [conn1] command admin.$cmd command: buildInfo { buildInfo: 1, $db: "admin", $readPreference: { mode: "primaryPreferred" } } numYields:0 reslen:1223 locks:{} protocol:op_msg 0ms 2019-07-11T11:41:40.361+0800 I COMMAND [conn1] command admin.$cmd command: isMaster { isMaster: 1, $db: "admin", $readPreference: { mode: "primaryPreferred" } } numYields:0 reslen:208 locks:{} protocol:op_msg 0ms 2019-07-11T11:41:40.361+0800 I COMMAND [conn1] command admin.$cmd command: buildInfo { buildInfo: 1, $db: "admin", $readPreference: { mode: "primaryPreferred" } } numYields:0 reslen:1223 locks:{} protocol:op_msg 0ms 2019-07-11T11:41:44.395+0800 D INDEX [TTLMonitor] ns: config.system.sessions key: { lastUse: 1 } name: lsidTTLIndex 2019-07-11T11:41:44.395+0800 D INDEX [TTLMonitor] deleted: 0 2019-07-11T11:41:50.360+0800 I COMMAND [conn1] command admin.$cmd command: isMaster { isMaster: 1, $db: "admin", $readPreference: { mode: "primaryPreferred" } } numYields:0 reslen:208 locks:{} protocol:op_msg 0ms 2019-07-11T11:41:50.361+0800 I COMMAND [conn1] command admin.$cmd command: buildInfo { buildInfo: 1, $db: "admin", $readPreference: { mode: "primaryPreferred" } } numYields:0 reslen:1223 locks:{} protocol:op_msg 0ms 2019-07-11T11:42:00.360+0800 I COMMAND [conn1] command admin.$cmd command: isMaster { isMaster: 1, $db: "admin", $readPreference: { mode: "primaryPreferred" } } numYields:0 reslen:208 locks:{} protocol:op_msg 0ms 2019-07-11T11:42:00.360+0800 I COMMAND [conn1] command admin.$cmd command: buildInfo { buildInfo: 1, $db: "admin", $readPreference: { mode: "primaryPreferred" } } numYields:0 reslen:1223 locks:{} protocol:op_msg 0ms

 

你可能感兴趣的:(mongo)