From c7a6db50292d742b1c2688a3a841e3643669521c Mon Sep 17 00:00:00 2001 From: Ping Xiang Date: Wed, 5 May 2021 16:42:50 +0000 Subject: [PATCH] update warning message to indicate missing log --- plugins/outputs/cloudwatchlogs/pusher.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/outputs/cloudwatchlogs/pusher.go b/plugins/outputs/cloudwatchlogs/pusher.go index 037c28a6b2..a5bfdbdc8d 100644 --- a/plugins/outputs/cloudwatchlogs/pusher.go +++ b/plugins/outputs/cloudwatchlogs/pusher.go @@ -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