Skip to content

Commit

Permalink
Improve CSP Token Service log (#291)
Browse files Browse the repository at this point in the history
Co-authored-by: Devon Warshaw <warshawd@vmware.com>
  • Loading branch information
oppegard and warshawd authored Aug 22, 2023
1 parent 6482add commit 146f1e9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ private String getCSPToken() {
return "INVALID_TOKEN";
}
} else {
log.warning("The request to CSP returned: " + statusCode);
log.severe("The request to CSP for a token failed with HTTP code: " + statusCode + ".");

if (statusCode >= 500 && statusCode < 600) {
log.info("The Wavefront SDK will try to reauthenticate with CSP on the next request.");
Expand Down

0 comments on commit 146f1e9

Please sign in to comment.