From 95ce1a4f7e2b0be1d359e815fe7e631609c44844 Mon Sep 17 00:00:00 2001 From: Thomas Lenz Date: Mon, 27 Nov 2017 09:19:33 +0100 Subject: change some log levels --- moaSig/moa-asic/src/main/java/at/gv/egiz/asic/api/ASiCFactory.java | 4 ++-- .../src/main/java/at/gv/egiz/asic/impl/verifier/BaseVerifier.java | 2 +- .../java/at/gv/egiz/asic/impl/verifier/ExtendedCAdESVerifier.java | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'moaSig/moa-asic/src') diff --git a/moaSig/moa-asic/src/main/java/at/gv/egiz/asic/api/ASiCFactory.java b/moaSig/moa-asic/src/main/java/at/gv/egiz/asic/api/ASiCFactory.java index 6b067f7..661e418 100644 --- a/moaSig/moa-asic/src/main/java/at/gv/egiz/asic/api/ASiCFactory.java +++ b/moaSig/moa-asic/src/main/java/at/gv/egiz/asic/api/ASiCFactory.java @@ -78,7 +78,7 @@ public class ASiCFactory { String fileComment = commentReaderStream.getFileComment(); ASiCFormat fileCommentFormat = null; if (fileComment != null) { - logger.info("Found file comment in ASiC {}", fileComment); + logger.debug("Found file comment in ASiC {}", fileComment); if(fileComment.startsWith("mimetype=")) { String fileCommentMimeType = fileComment.substring("mimetype=".length()); if(fileCommentMimeType.startsWith(MIMETYPE_FORMAT_E)) { @@ -94,7 +94,7 @@ public class ASiCFactory { ASiCFormat mimeTypeFileFormat = null; if (mimeTypeFile != null) { - logger.info("Found mimetype file in ASiC {}", mimeTypeFile); + logger.debug("Found mimetype file in ASiC {}", mimeTypeFile); if(MIMETYPE_FORMAT_E.equalsIgnoreCase(mimeTypeFile)) { mimeTypeFileFormat = ASiCFormat.ASiCE; } else if(MIMETYPE_FORMAT_S.equalsIgnoreCase(mimeTypeFile)) { diff --git a/moaSig/moa-asic/src/main/java/at/gv/egiz/asic/impl/verifier/BaseVerifier.java b/moaSig/moa-asic/src/main/java/at/gv/egiz/asic/impl/verifier/BaseVerifier.java index a0bc516..cc2d363 100644 --- a/moaSig/moa-asic/src/main/java/at/gv/egiz/asic/impl/verifier/BaseVerifier.java +++ b/moaSig/moa-asic/src/main/java/at/gv/egiz/asic/impl/verifier/BaseVerifier.java @@ -34,7 +34,7 @@ public abstract class BaseVerifier implements Verifier { String referenceHex = Hex.encodeHexString(reference); String calculatedHex = Hex.encodeHexString(calculated); if(Arrays.equals(reference, calculated)) { - logger.info("Digest from manifest do match for {}", refName); + logger.debug("Digest from manifest do match for {}", refName); return true; } else { logger.info("Digest from manifest do not match for {}", refName); diff --git a/moaSig/moa-asic/src/main/java/at/gv/egiz/asic/impl/verifier/ExtendedCAdESVerifier.java b/moaSig/moa-asic/src/main/java/at/gv/egiz/asic/impl/verifier/ExtendedCAdESVerifier.java index e71f263..9f16035 100644 --- a/moaSig/moa-asic/src/main/java/at/gv/egiz/asic/impl/verifier/ExtendedCAdESVerifier.java +++ b/moaSig/moa-asic/src/main/java/at/gv/egiz/asic/impl/verifier/ExtendedCAdESVerifier.java @@ -120,7 +120,7 @@ public class ExtendedCAdESVerifier extends CAdESVerifier { dis.close(); String fullDigest = Hex.encodeHexString(md.digest()); - logger.info("CMS Input data {}", fullDigest); + logger.debug("CMS Input data {}", fullDigest); if (!allReferencesValid) { logger.warn("ASiCManifest {} References do not match data files!", -- cgit v1.2.3