添加MongoDB认证支持并优化序列号生成工具
This commit is contained in:
@@ -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,
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user