# HG changeset patch # User Andre Heinecke # Date 1429111322 -7200 # Node ID f0ea2063b58ea02dbbc63ef3e5f0f8f870fd0377 # Parent 94cddb00f934aa449d714d1f38b9f0aa7b2b8865 Change some debugs to trace in theme factory diff -r 94cddb00f934 -r f0ea2063b58e artifacts/src/main/java/org/dive4elements/river/themes/ThemeFactory.java --- a/artifacts/src/main/java/org/dive4elements/river/themes/ThemeFactory.java Fri Apr 24 15:06:38 2015 +0200 +++ b/artifacts/src/main/java/org/dive4elements/river/themes/ThemeFactory.java Wed Apr 15 17:22:02 2015 +0200 @@ -54,7 +54,7 @@ String name = getName(config); String desc = getDescription(config); - log.debug("Create new theme: " + name); + log.trace("Create new theme: " + name); Theme theme = new DefaultTheme(name, desc); @@ -197,18 +197,18 @@ Theme t, Map themes ) { - log.debug("ThemeFactory.parseInherits"); + log.trace("ThemeFactory.parseInherits"); NodeList inherits = ((Element)cfg).getElementsByTagName("inherit"); int num = inherits.getLength(); if (num == 0) { - log.debug("Theme does not inherit from other themes."); + log.trace("Theme does not inherit from other themes."); return; } - log.debug("Theme inherits from " + num + " other themes."); + log.trace("Theme inherits from " + num + " other themes."); if (themes == null) { themes = buildThemeMap(themeCfg); @@ -253,10 +253,10 @@ int num = fields.getLength(); - log.debug("Found " + num + " own fields in this theme."); + log.trace("Found " + num + " own fields in this theme."); if (num == 0) { - log.debug("Theme has no own fields."); + log.trace("Theme has no own fields."); return; } @@ -271,7 +271,7 @@ protected static void addField(Theme theme, Node field) { String name = ((Element)field).getAttribute("name"); - log.debug("Add field " + name + " to theme " + theme.getName()); + log.trace("Add field " + name + " to theme " + theme.getName()); NamedNodeMap attrs = field.getAttributes(); @@ -303,7 +303,7 @@ int num = attrs != null ? attrs.getLength() : 0; if (num == 0) { - log.debug("Theme has no attributes set."); + log.trace("Theme has no attributes set."); return; }