From 3976ebf3e2ac3a90613fa1859815072985787083 Mon Sep 17 00:00:00 2001 From: Simon Lukasik Date: Tue, 19 Oct 2021 09:45:53 +0200 Subject: [PATCH] Make warning message more readable for bigger deployments In cases, when gofalcon is part of greater integration, it may not be obvious that the log message is coming out of gofalcon. --- falcon/api_client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/falcon/api_client.go b/falcon/api_client.go index 36c6d00b..72f4657d 100644 --- a/falcon/api_client.go +++ b/falcon/api_client.go @@ -48,7 +48,7 @@ func (rt *roundTripper) RoundTrip(req *http.Request) (*http.Response, error) { req.Header.Add("User-Agent", userAgent) if rt.LastRateLimitDigits == 1 || rt.LastRateLimitDigits == 2 { - log.Debug("Approaching API rate limits. Waiting 500 millisecond.") + log.Debug("Approaching CrowdStrike API rate limits. Waiting 500 millisecond.") time.Sleep(500 * time.Millisecond) } response, err := rt.T.RoundTrip(req)