From cb4eb3a1f73421ef251435c340c9f32c0f9f7d41 Mon Sep 17 00:00:00 2001 From: Varun Sharma Date: Mon, 1 Apr 2024 06:57:58 -0700 Subject: [PATCH] Update eventhandler.go --- eventhandler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eventhandler.go b/eventhandler.go index 5bed034..1463e22 100644 --- a/eventhandler.go +++ b/eventhandler.go @@ -40,7 +40,7 @@ func (eventHandler *EventHandler) handleFileEvent(event *Event) { if !strings.HasPrefix(event.FileName, "/") { event.FileName = path.Join(event.Path, event.FileName) } - WriteLog(fmt.Sprintf("[FileWrite] file: %s syscall: %s by exe: %s", event.FileName, event.Syscall, event.Exe)) + //WriteLog(fmt.Sprintf("[FileWrite] file: %s syscall: %s by exe: %s", event.FileName, event.Syscall, event.Exe)) if strings.Contains(event.FileName, "post_event.json") { WriteLog("\n") WriteLog("post_event called")