Agree, I suggest to apply something like this patch:
Index: PropertySheet.java
--- PropertySheet.java (revision 8518)
+++ PropertySheet.java (working copy)
@@ -690,6 +690,8 @@
// if there's a logLevel set for component apply to the logger
if (rawProps.get("logLevel") != null)
logger.setLevel(Level.parse((String) rawProps.get("logLevel")));
+ else
+ logger.setLevel(Level.parse(cm.getGlobalProperty(ConfigurationManagerUtils.GLOBAL_COMMON_LOGLEVEL)));
return logger;
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
(I'm using a recent version from SVN, running the demos.)
In my XML I have the LogLevel set to WARNING but I get INFO level instead (even if I set LogLevel to 0). The beta seems to honor LogLevel fine.
Perhaps the SVN compiles the Sphinx libraries in some kind of debug mode where everything outputs INFO level? I must be missing something obvious.
Agree, I suggest to apply something like this patch:
Index: PropertySheet.java
--- PropertySheet.java (revision 8518)
+++ PropertySheet.java (working copy)
@@ -690,6 +690,8 @@
// if there's a logLevel set for component apply to the logger
if (rawProps.get("logLevel") != null)
logger.setLevel(Level.parse((String) rawProps.get("logLevel")));
+ else
+ logger.setLevel(Level.parse(cm.getGlobalProperty(ConfigurationManagerUtils.GLOBAL_COMMON_LOGLEVEL)));
Thanks. This patch worked fine. For anybody (like me) who doesn't know what to do with a patch file, this link explains it pretty well:
http://ramblings.narrabilis.com/wp/generating-and-reading-patch-files/