From 26ba82f8aa6e4d38836bec7078f363da9ea0cbf8 Mon Sep 17 00:00:00 2001 From: Stephan Schwär Date: Thu, 8 Oct 2020 13:56:34 +0900 Subject: Change ovf classes logger output to debug --- src/main/java/org/openslx/util/vm/OvfConfig.java | 8 ++++---- src/main/java/org/openslx/util/vm/OvfMetaData.java | 6 +++--- 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 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() { -- cgit v1.2.3-55-g7522