Skip to content

Commit

Permalink
fix logging
Browse files Browse the repository at this point in the history
  • Loading branch information
mhils committed Jan 22, 2025
1 parent 6fabea9 commit 51892c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/pkg/daemon/bpfrecorder/bpfrecorder_apparmor.go
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ func processDeletedFiles(fileName string, processedEvents *BpfAppArmorFileProces
//
// It should be ignored since is an invalid path in the apparmor profile.
if strings.HasSuffix(fileName, " (deleted)") {
logger.Info("Skipping deleted file: '%s'", fileName)
logger.Info("Skipping deleted file", "fileName", fileName)
return true
}

Expand Down

0 comments on commit 51892c8

Please sign in to comment.