Skip to content

Commit

Permalink
nit: add an info log for where a producer wrote its output
Browse files Browse the repository at this point in the history
  • Loading branch information
northdpole committed Sep 18, 2024
1 parent 6a04e0c commit 8b09b1b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions components/producers/producer.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ func WriteDraconOut(

stat, err := os.Stat(OutFile)
if Append && err == nil && stat.Size() > 0 {
slog.Info("appending", "issues", len(cleanIssues), "tool", toolName, "to", OutFile)
return putil.AppendResults(cleanIssues, OutFile)
}
return putil.WriteResults(toolName, cleanIssues, OutFile, scanUUUID, scanStartTime, scanTags)
Expand Down

0 comments on commit 8b09b1b

Please sign in to comment.