Skip to content

Commit

Permalink
trt-1530: add logging for existing content
Browse files Browse the repository at this point in the history
  • Loading branch information
neisw committed Feb 26, 2024
1 parent 95358de commit 33865fd
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -40,7 +40,7 @@ func (o *PollServiceOptions) Run(ctx context.Context) error {
}
if len(startingContent) > 0 {
// print starting content to the log so that we can simply scrape the log to find all entries at the end
o.OriginalOutFile.Write(startingContent)
o.OriginalOutFile.Write([]byte(fmt.Sprintf("Found existing content: %s", string(startingContent))))
}

recorder := monitor.WrapWithJSONLRecorder(monitor.NewRecorder(), o.IOStreams.Out, nil)
Expand Down

0 comments on commit 33865fd

Please sign in to comment.