|
@@ -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",
|