Skip to content

Commit

Permalink
Update eventhandler.go
Browse files Browse the repository at this point in the history
  • Loading branch information
varunsh-coder committed Apr 1, 2024
1 parent 2894e2e commit cb4eb3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eventhandler.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit cb4eb3a

Please sign in to comment.