Mercurial > dive4elements > river
diff flys-artifacts/src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java @ 3239:fb11bd37ddb8
Improved the structure of themes.xml; moved theme groups to own XML files.
flys-artifacts/trunk@4871 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Wed, 04 Jul 2012 06:35:47 +0000 |
parents | faf73245ec73 |
children | 17ca0a43027a |
line wrap: on
line diff
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java Tue Jul 03 19:30:08 2012 +0000 +++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java Wed Jul 04 06:35:47 2012 +0000 @@ -293,6 +293,8 @@ if (groupNum == 0) { logger.warn("There are no theme groups configured!"); } + + logger.info("Found " + groupNum + " theme groups in configuration"); List<ThemeGroup> groups = new ArrayList<ThemeGroup>(); @@ -308,7 +310,7 @@ return; } - logger.debug("Found " + num + " configured theme groups."); + logger.info("Theme group has " + num + " themes."); Map<String, Theme> theThemes = new HashMap<String, Theme>(); @@ -323,7 +325,10 @@ } String gName = themeGroup.getAttribute("name"); groups.add(new ThemeGroup(gName, theThemes)); - logger.debug("Initialized " + theThemes.size() + "/" + num + " themes"); + + logger.info( + "Initialized " + theThemes.size() + "/" + num + " themes " + + "of theme-group '" + gName + "'"); } context.put(FLYSContext.THEMES, groups); }