Skip to content

Commit a441c03

Browse files
committed
Parameterize log messages
1 parent 13ff31d commit a441c03

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/com/uid2/shared/secure/AzureCCCoreAttestationService.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,10 @@ public void attest(byte[] attestationRequest, byte[] publicKey, Handler<AsyncRes
4949
var enclaveId = policyValidator.validate(tokenPayload, encodedPublicKey);
5050

5151
if (allowedEnclaveIds.contains(enclaveId)) {
52-
log.info("Successfully attested azure-cc against registered enclaves, enclave id: " + enclaveId);
52+
log.info("Successfully attested azure-cc against registered enclaves, enclave id: {}", enclaveId);
5353
handler.handle(Future.succeededFuture(new AttestationResult(publicKey, enclaveId)));
5454
} else {
55-
log.warn("Got unsupported azure-cc enclave id: " + enclaveId);
55+
log.warn("Got unsupported azure-cc enclave id: {}", enclaveId);
5656
handler.handle(Future.succeededFuture(new AttestationResult(AttestationFailure.FORBIDDEN_ENCLAVE)));
5757
}
5858
}

0 commit comments

Comments
 (0)