Mongodb 突然在服务器控制台中看到大量Mongo输出(Mongo Oplog?)
我绝对不知道谷歌该为这一个做些什么。它发生在我从命令行启动meteor时 我得到了一堆我无法识别的输出,这有点烦人,因为它掩盖了我想要看到的输出。我无法确定是什么改变导致了这一切 我想我在DB查询之后也观察到了这种情况,但是今天早上我看不到Mongodb 突然在服务器控制台中看到大量Mongo输出(Mongo Oplog?),mongodb,meteor,Mongodb,Meteor,我绝对不知道谷歌该为这一个做些什么。它发生在我从命令行启动meteor时 我得到了一堆我无法识别的输出,这有点烦人,因为它掩盖了我想要看到的输出。我无法确定是什么改变导致了这一切 我想我在DB查询之后也观察到了这种情况,但是今天早上我看不到 I20150707-10:26:06.097(1)? ---------------------------- I20150707-10:26:06.101(1)? { _mongo: I20150707-10:26:06.101(1)? { _ob
I20150707-10:26:06.097(1)? ----------------------------
I20150707-10:26:06.101(1)? { _mongo:
I20150707-10:26:06.101(1)? { _observeMultiplexers:
I20150707-10:26:06.101(1)? { '{"ordered":false,"collectionName":"users","selector":{"_id":"bhJwk7Lc4mPDzAYno"},"options":{"transform":null,"fields":{"profile":1,"username":1,"emails":1}}}': [Object],
I20150707-10:26:06.102(1)? '{"ordered":false,"collectionName":"users","selector":{"_id":"bhJwk7Lc4mPDzAYno","services.resume.loginTokens.hashedToken":"+uhnI7co8s08w/9A53RTBO+qH/jJvKnHJCIYwRIKZ64="},"options":{"transform":null,"fields":{"_id":1}}}': [Object],
I20150707-10:26:06.102(1)? '{"ordered":false,"collectionName":"users","selector":{"_id":"bhJwk7Lc4mPDzAYno"},"options":{"transform":null,"fields":{"roles":1}}}': [Object],
I20150707-10:26:06.102(1)? '{"ordered":false,"collectionName":"meteor_accounts_loginServiceConfiguration","selector":{},"options":{"transform":null,"fields":{"secret":0}}}': [Object],
I20150707-10:26:06.102(1)? '{"ordered":false,"collectionName":"projects","selector":{"user_ids":"bhJwk7Lc4mPDzAYno"},"options":{"transform":null}}': [Object],
I20150707-10:26:06.102(1)? '{"ordered":false,"collectionName":"sourceTypes","selector":{},"options":{"transform":null}}': [Object] },
I20150707-10:26:06.102(1)? _onFailoverHook: { nextCallbackId: 7, callbacks: [Object] },
I20150707-10:26:06.103(1)? db:
I20150707-10:26:06.103(1)? { domain: null,
I20150707-10:26:06.103(1)? _events: {},
I20150707-10:26:06.103(1)? _maxListeners: 10,
I20150707-10:26:06.103(1)? databaseName: 'meteor',
I20150707-10:26:06.104(1)? serverConfig: [Object],
I20150707-10:26:06.104(1)? options: [Object],
I20150707-10:26:06.104(1)? _applicationClosed: false,
I20150707-10:26:06.104(1)? slaveOk: false,
I20150707-10:26:06.104(1)? bufferMaxEntries: -1,
I20150707-10:26:06.104(1)? native_parser: false,
I20150707-10:26:06.104(1)? bsonLib: [Object],
I20150707-10:26:06.105(1)? bson: [Object],
I20150707-10:26:06.105(1)? bson_deserializer: [Object],
I20150707-10:26:06.105(1)? bson_serializer: [Object],
I20150707-10:26:06.105(1)? _state: 'connected',
I20150707-10:26:06.106(1)? pkFactory: [Object],
I20150707-10:26:06.106(1)? forceServerObjectId: false,
I20150707-10:26:06.107(1)? safe: false,
I20150707-10:26:06.107(1)? notReplied: {},
I20150707-10:26:06.107(1)? isInitializing: true,
I20150707-10:26:06.107(1)? openCalled: true,
I20150707-10:26:06.107(1)? commands: [],
I20150707-10:26:06.107(1)? logger: [Object],
I20150707-10:26:06.108(1)? tag: 1436261154640,
I20150707-10:26:06.108(1)? eventHandlers: [Object],
I20150707-10:26:06.108(1)? serializeFunctions: false,
I20150707-10:26:06.108(1)? raw: false,
I20150707-10:26:06.109(1)? recordQueryStats: false,
I20150707-10:26:06.109(1)? retryMiliSeconds: 1000,
I20150707-10:26:06.109(1)? numberOfRetries: 60,
I20150707-10:26:06.109(1)? readPreference: [Object] },
I20150707-10:26:06.110(1)? _primary: '127.0.0.1:3001',
I20150707-10:26:06.110(1)? _oplogHandle:
I20150707-10:26:06.110(1)? { _oplogUrl: 'mongodb://127.0.0.1:3001/local',
I20150707-10:26:06.110(1)? _dbName: 'meteor',
I20150707-10:26:06.111(1)? _oplogLastEntryConnection: [Object],
I20150707-10:26:06.111(1)? _oplogTailConnection: [Object],
I20150707-10:26:06.111(1)? _stopped: false,
I20150707-10:26:06.111(1)? _tailHandle: [Object],
I20150707-10:26:06.112(1)? _readyFuture: [Object],
I20150707-10:26:06.112(1)? _crossbar: [Object],
I20150707-10:26:06.112(1)? _baseOplogSelector: [Object],
I20150707-10:26:06.113(1)? _catchingUpFutures: [],
I20150707-10:26:06.113(1)? _lastProcessedTS: [Object],
I20150707-10:26:06.114(1)? _onSkippedEntriesHook: [Object],
I20150707-10:26:06.114(1)? _entryQueue: [Object],
I20150707-10:26:06.115(1)? _workerActive: false },
I20150707-10:26:06.115(1)? _docFetcher: { _mongoConnection: [Circular], _callbacksForCacheKey: {} } },
I20150707-10:26:06.116(1)? _cursorDescription:
I20150707-10:26:06.116(1)? { collectionName: 'scrapeLog',
I20150707-10:26:06.116(1)? selector: {},
I20150707-10:26:06.116(1)? options: { transform: null, sort: [Object], limit: 10 } },
I20150707-10:26:06.116(1)? _synchronousCursor: null }
您是否在整个项目中搜索了
console.log
,以查看这可能来自何处?不过它可能是一个包,所以在终端(项目的根目录)中发布运行meteor list
的输出可能会有所帮助。有人知道这个输出是什么吗?这似乎不是一个错误。我已经删除了我最近添加的两个软件包,并且仍然存在代码>。也许你的代码或软件包的代码中有类似的东西?您可能指的是console.log(SomeCollection.find().fetch())代码>这是答案。最后,在搜索字符串'-----------------------------------'时,它是唯一的签名。希望获得控制台的行号。日志。。。。