diagLoggingdiagLogging diagLoggingRemoved in version 3.6 To capture, replay, and profile commands sent to your MongoDBdeployment, use mongoreplay.