Menu

LogLevel different in Nightly?

Help
Zach Poff
2008-07-01
2012-09-22
  • Zach Poff

    Zach Poff - 2008-07-01

    (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.

     
    • Nickolay V. Shmyrev

      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;
      
       
    • Zach Poff

      Zach Poff - 2008-07-02

      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/

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.