添加MongoDB认证支持并优化序列号生成工具

This commit is contained in:
2026-02-26 17:47:19 +08:00
committed by 张斌
parent a330577740
commit add07d47f1
3 changed files with 65 additions and 2 deletions

View File

@@ -57,7 +57,7 @@ func commandMonitor() *event.CommandMonitor {
fmt.Printf("[%s] 开始执行命令 | 数据库: %s | 集合: %s | 命令: %+v\n",
time.Now().Format("2006-01-02 15:04:05"),
evt.DatabaseName,
evt.Command.Lookup("collection").StringValue(), // 获取集合名
//evt.Command.Lookup("collection").StringValue(), // 获取集合名
evt.Command,
)