Merge pull request #784 from msysyamamoto/fix-message

Fix log message
This commit is contained in:
Tyler Benson 2019-03-28 10:47:34 -07:00 committed by GitHub
commit 27489afd5c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -159,7 +159,7 @@ public class DDApi {
} else if (nextAllowedLogTime < System.currentTimeMillis()) { } else if (nextAllowedLogTime < System.currentTimeMillis()) {
nextAllowedLogTime = System.currentTimeMillis() + MILLISECONDS_BETWEEN_ERROR_LOG; nextAllowedLogTime = System.currentTimeMillis() + MILLISECONDS_BETWEEN_ERROR_LOG;
log.warn( log.warn(
"Error while sending {} of {} traces to the DD agent. Status: {} (going silent for {} seconds)", "Error while sending {} of {} traces to the DD agent. Status: {} (going silent for {} minutes)",
traces.size(), traces.size(),
representativeCount, representativeCount,
response.code(), response.code(),