summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorStephan Schwär2020-10-08 06:56:34 +0200
committerStephan Schwär2020-10-08 06:56:34 +0200
commit26ba82f8aa6e4d38836bec7078f363da9ea0cbf8 (patch)
treecbb0bd65ac33e81d8e93f33bd2f7fbbfa90bed2a /src
parentImprove comments describing new classes and cleanup (diff)
downloadmaster-sync-shared-26ba82f8aa6e4d38836bec7078f363da9ea0cbf8.tar.gz
master-sync-shared-26ba82f8aa6e4d38836bec7078f363da9ea0cbf8.tar.xz
master-sync-shared-26ba82f8aa6e4d38836bec7078f363da9ea0cbf8.zip
Change ovf classes logger output to debug
Diffstat (limited to 'src')
-rw-r--r--src/main/java/org/openslx/util/vm/OvfConfig.java8
-rw-r--r--src/main/java/org/openslx/util/vm/OvfMetaData.java6
2 files changed, 7 insertions, 7 deletions
diff --git a/src/main/java/org/openslx/util/vm/OvfConfig.java b/src/main/java/org/openslx/util/vm/OvfConfig.java
index df8b0ca..a7a5c75 100644
--- a/src/main/java/org/openslx/util/vm/OvfConfig.java
+++ b/src/main/java/org/openslx/util/vm/OvfConfig.java
@@ -36,13 +36,13 @@ public class OvfConfig {
private Document doc = null;
public OvfConfig(File file) throws IOException, UnsupportedVirtualizerFormatException {
- LOGGER.info("Entering OvfConfig class creation");
+ LOGGER.debug("Entering OvfConfig class creation");
doc = XmlHelper.parseDocumentFromStream(new FileInputStream(file));
doc = XmlHelper.removeFormattingNodes(doc);
if (doc == null)
throw new UnsupportedVirtualizerFormatException(
"Could not create DOM from given ovf machine configuration file!");
- LOGGER.info("DOM creation worked");
+ LOGGER.debug("DOM creation worked");
init();
}
@@ -53,11 +53,11 @@ public class OvfConfig {
* @throws UnsupportedVirtualizerFormatException
*/
private void init() throws UnsupportedVirtualizerFormatException {
- LOGGER.info("Entering OvfConfig init");
+ LOGGER.debug("Entering OvfConfig init");
if (Util.isEmptyString(getDisplayName())) {
throw new UnsupportedVirtualizerFormatException("Machine doesn't have a name");
}
- LOGGER.info(getDisplayName());
+ LOGGER.debug(getDisplayName());
// try {
// setHdds();
// } catch ( XPathExpressionException e ) {
diff --git a/src/main/java/org/openslx/util/vm/OvfMetaData.java b/src/main/java/org/openslx/util/vm/OvfMetaData.java
index fae8b52..e331184 100644
--- a/src/main/java/org/openslx/util/vm/OvfMetaData.java
+++ b/src/main/java/org/openslx/util/vm/OvfMetaData.java
@@ -33,11 +33,11 @@ public class OvfMetaData extends VmMetaData {
public OvfMetaData(List<OperatingSystem> osList, File file)
throws IOException, UnsupportedVirtualizerFormatException {
super(osList);
- LOGGER.info("Constructor worked");
+ LOGGER.debug("Constructor worked");
this.config = new OvfConfig(file);
- LOGGER.info("Creating config worked");
+ LOGGER.debug("Creating config worked");
init();
- LOGGER.info("Init worked");
+ LOGGER.debug("Init worked");
}
private void init() {