如何删除mongodb.cluster消息?

时间:2016-12-08 00:45:37

标签: java mongodb jar jongo

我正在开发JSFMongoDB Jongo连接的应用程序,但控制台正在显示下一条消息,我想删除它:

Grave:   9 [http-listener-1(4)] INFO org.mongodb.driver.cluster - Cluster created with settings {hosts=[localhost:27017], mode=SINGLE, requiredClusterType=UNKNOWN, serverSelectionTimeout='30000 ms', maxWaitQueueSize=500}
Grave:   1293 [cluster-ClusterId{value='5848a8f264e75c14f0363dac', description='null'}-localhost:27017] INFO org.mongodb.driver.connection - Opened connection [connectionId{localValue:1, serverValue:124}] to localhost:27017
Grave:   1300 [cluster-ClusterId{value='5848a8f264e75c14f0363dac', description='null'}-localhost:27017] INFO org.mongodb.driver.cluster - Monitor thread successfully connected to server with description ServerDescription{address=localhost:27017, type=STANDALONE, state=CONNECTED, ok=true, version=ServerVersion{versionList=[3, 2, 9]}, minWireVersion=0, maxWireVersion=4, maxDocumentSize=16777216, roundTripTimeNanos=3243563}
Grave:   8059 [http-listener-1(4)] INFO org.mongodb.driver.connection - Opened connection [connectionId{localValue:2, serverValue:125}] to localhost:27017

我的Java代码是:

this.coleccion = (new Jongo(new MongoClient("localhost", 27017).getDB("mydb"))).getCollection("mycollection");

我正在使用下一个技术(JARs):

  • 蒙戈-java的驾驶员3.2.2.jar
  • bson4jackson-2.7.0.jar
  • 杰克逊 - 注解-2.7.3.jar
  • 杰克逊 - 芯 - 2.7.3.jar
  • 杰克逊 - 数据绑定-2.7.3.jar
  • jongo-1.3.0.jar

谢谢

0 个答案:

没有答案