aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--moaSig/moa-sig-lib/src/main/java/at/gv/egovernment/moa/spss/util/CertStoreConverter.java26
1 files changed, 13 insertions, 13 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 0956617..ac3439d 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
@@ -19,7 +19,7 @@ public class CertStoreConverter {
public static boolean convert(String certStoreRoot, TransactionId transId) {
String certStoreSubjectDN = certStoreRoot + File.separator + "subjectdn";
- logger.error("checking for new cert store format {} -> {}", certStoreRoot, certStoreSubjectDN);
+ logger.info("checking for new cert store format {} -> {}", certStoreRoot, certStoreSubjectDN);
File certStoreDirectory = new File(certStoreRoot);
if (certStoreDirectory.isDirectory() && certStoreDirectory.exists()) {
@@ -28,15 +28,15 @@ public class CertStoreConverter {
if (file.isDirectory() && file.exists()) {
// Is new Format!
- logger.error("Cert store is allready new format!");
+ logger.info("Cert store is allready new format!");
return false;
} else {
try {
- logger.error(
+ logger.info(
"###########################################################################################");
- logger.error(
+ logger.info(
"###########################################################################################");
- logger.error("The certificate store @ {} will now be converted into the new format!",
+ logger.info("The certificate store @ {} will now be converted into the new format!",
certStoreDirectory.getAbsolutePath());
String backup = certStoreRoot;
@@ -48,7 +48,7 @@ public class CertStoreConverter {
String timestamp = String.valueOf(System.currentTimeMillis());
backup = backup + "_" + timestamp;
- logger.error("Creating a backup of the certstore @ {}", backup);
+ logger.info("Creating a backup of the certstore @ {}", backup);
File backupDirectory = new File(backup);
try {
@@ -58,7 +58,7 @@ public class CertStoreConverter {
throw new RuntimeException("Failed to create certstore backup!", e);
}
- logger.error("deleting original certstore @ {}", certStoreRoot);
+ logger.info("deleting original certstore @ {}", certStoreRoot);
try {
FileUtils.deleteDirectory(certStoreDirectory);
@@ -71,7 +71,7 @@ public class CertStoreConverter {
DirectoryCertStoreConverter directoryCertStoreConverter = new DirectoryCertStoreConverter();
try {
- logger.error("running conversion of certstore @ {}", certStoreRoot);
+ logger.info("running conversion of certstore @ {}", certStoreRoot);
directoryCertStoreConverter.convert(backupDirectory.getAbsolutePath(),
certStoreDirectory.getAbsolutePath(), true, false,
new IaikLog("DirectoryCertStoreConverter"), transId);
@@ -88,14 +88,14 @@ public class CertStoreConverter {
throw new RuntimeException("Failed to run conversion of old certstore!", e);
}
- logger.error("Conversion of certstore succseeded");
- logger.error("Certstore in new format is located @ {}", certStoreDirectory.getAbsolutePath());
- logger.error("Backup of Certstore in old format is located @ {}",
+ logger.info("Conversion of certstore succseeded");
+ logger.info("Certstore in new format is located @ {}", certStoreDirectory.getAbsolutePath());
+ logger.info("Backup of Certstore in old format is located @ {}",
certStoreDirectory.getAbsolutePath());
} finally {
- logger.error(
+ logger.info(
"###########################################################################################");
- logger.error(
+ logger.info(
"###########################################################################################");
}
return true;