Skip to content

Commit

Permalink
update warning message to indicate missing log
Browse files Browse the repository at this point in the history
  • Loading branch information
pxaws committed May 5, 2021
1 parent 5a42771 commit c7a6db5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/outputs/cloudwatchlogs/pusher.go
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ func (p *pusher) send() {

awsErr, ok := err.(awserr.Error)
if !ok {
p.Log.Errorf("Non aws error received when sending logs to %v/%v: %v", p.Group, p.Stream, err)
p.Log.Errorf("Non aws error received when sending logs to %v/%v: %v. CloudWatch agent will not retry and logs will be missing!", p.Group, p.Stream, err)
// Messages will be discarded but done callbacks not called
p.reset()
return
Expand Down

0 comments on commit c7a6db5

Please sign in to comment.