Sfoglia il codice sorgente

Merge branch 'eta/1.8.4' into debug

Roc 10 mesi fa
parent
commit
74bc38c12d
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 2 1
      utils/mgodb/mgo_config.go

+ 2 - 1
utils/mgodb/mgo_config.go

@@ -58,7 +58,8 @@ func MgoNewClient(mgoConfig MgoConfig) *qmgo.Client {
 			if ok {
 				commands = v.(bson.Raw)
 			}
-			utils.MongoLog.Info("\n【MongoDB】[%.3fms] [%v] %v \n", float64(evt.Duration)/1e6, commands, evt.Reply)
+			//utils.MongoLog.Info("\n【MongoDB】[%.3fms] [%v] %v \n", float64(evt.Duration)/1e6, commands, evt.Reply)
+			utils.MongoLog.Info("\n【MongoDB】[%.3fms] [%v] \n", float64(evt.Duration)/1e6, commands)
 		},
 		Failed: func(_ context.Context, evt *event.CommandFailedEvent) {
 			//log.Printf("Command: %v Failure: %v\n",