Skip to content

Commit

Permalink
[MOSIP-31071] Removed logger
Browse files Browse the repository at this point in the history
Signed-off-by: Aiham <[email protected]>
  • Loading branch information
aihamh committed Jan 17, 2024
1 parent 9783c22 commit 1a21d49
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -580,9 +580,6 @@ private void prepareDemographicResponse(DemographicMetadataDTO demographicMetada
JSONParser jsonParser = new JSONParser();
for (DemographicEntity demographicEntity : demographicEntities) {
log.info("sessionId", "idType", "id", "decryption start time : " + DateUtils.getUTCCurrentDateTimeString());
log.info("sessionId", "idType", "id", "applicationjson : " + new String(demographicEntity.getApplicantDetailJson()));
log.info("sessionId", "idType", "id", "preregId : " + demographicEntity.getPreRegistrationId());

byte[] decryptedString = cryptoUtil.decrypt(demographicEntity.getApplicantDetailJson(),
DateUtils.getUTCCurrentDateTime());
log.info("sessionId", "idType", "id", "decryption end time : " + DateUtils.getUTCCurrentDateTimeString());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,6 @@ public byte[] decrypt(byte[] originalInput, LocalDateTime localDateTime) {
try {

CryptoManagerRequestDTO dto = new CryptoManagerRequestDTO();
log.info("sessionId", "idType", "cryptoApplicationId:", cryptoApplcationId);
log.info("sessionId", "idType", "cryptoReferenceId:", cryptoReferenceId);
log.info("sessionId", "idType", "originalInput:", new String(originalInput, StandardCharsets.UTF_8));
dto.setApplicationId(cryptoApplcationId);
dto.setData(new String(originalInput, StandardCharsets.UTF_8));
dto.setReferenceId(cryptoReferenceId);
Expand Down

0 comments on commit 1a21d49

Please sign in to comment.