diff options
author | Thomas Lenz <thomas.lenz@egiz.gv.at> | 2020-11-10 13:44:12 +0100 |
---|---|---|
committer | Thomas Lenz <thomas.lenz@egiz.gv.at> | 2020-11-10 13:44:12 +0100 |
commit | 3c99523647fc68ddce17818205c1516d7ea6b92e (patch) | |
tree | 47e11158d5e60e404b201ddb00610b75235cb330 /moaSig/moa-sig-lib/src/main/java/at | |
parent | bb695501b192100ccfbcaf0b750f6d9d478ed86d (diff) | |
download | moa-sig-3c99523647fc68ddce17818205c1516d7ea6b92e.tar.gz moa-sig-3c99523647fc68ddce17818205c1516d7ea6b92e.tar.bz2 moa-sig-3c99523647fc68ddce17818205c1516d7ea6b92e.zip |
change some log levels
Diffstat (limited to 'moaSig/moa-sig-lib/src/main/java/at')
-rw-r--r-- | moaSig/moa-sig-lib/src/main/java/at/gv/egovernment/moa/spss/util/CertStoreConverter.java | 2 | ||||
-rw-r--r-- | moaSig/moa-sig-lib/src/main/java/at/gv/egovernment/moa/spss/util/SecProviderUtils.java | 11 |
2 files changed, 7 insertions, 6 deletions
diff --git a/moaSig/moa-sig-lib/src/main/java/at/gv/egovernment/moa/spss/util/CertStoreConverter.java b/moaSig/moa-sig-lib/src/main/java/at/gv/egovernment/moa/spss/util/CertStoreConverter.java index ac3439d..d3d82f2 100644 --- a/moaSig/moa-sig-lib/src/main/java/at/gv/egovernment/moa/spss/util/CertStoreConverter.java +++ b/moaSig/moa-sig-lib/src/main/java/at/gv/egovernment/moa/spss/util/CertStoreConverter.java @@ -28,7 +28,7 @@ public class CertStoreConverter { if (file.isDirectory() && file.exists()) { // Is new Format! - logger.info("Cert store is allready new format!"); + logger.debug("Cert store is allready new format!"); return false; } else { try { diff --git a/moaSig/moa-sig-lib/src/main/java/at/gv/egovernment/moa/spss/util/SecProviderUtils.java b/moaSig/moa-sig-lib/src/main/java/at/gv/egovernment/moa/spss/util/SecProviderUtils.java index edcac97..30f3688 100644 --- a/moaSig/moa-sig-lib/src/main/java/at/gv/egovernment/moa/spss/util/SecProviderUtils.java +++ b/moaSig/moa-sig-lib/src/main/java/at/gv/egovernment/moa/spss/util/SecProviderUtils.java @@ -12,11 +12,12 @@ public class SecProviderUtils { public static void dumpSecProviders(String message) { - - logger.info("Security Providers: {}", message); - - for(Provider provider : Security.getProviders()) { - logger.info(" - {} - {}", provider.getName(), provider.getVersion()); + if (logger.isDebugEnabled()) { + logger.info("Security Providers: {}", message); + for(Provider provider : Security.getProviders()) { + logger.info(" - {} - {}", provider.getName(), provider.getVersion()); + + } } } } |