OSDN Git Service

Correct problem where message level wasn't being set properly when starting.
authorRandy Baumgarte <randy@fbn.cx>
Fri, 7 Oct 2011 16:20:59 +0000 (12:20 -0400)
committerRandy Baumgarte <randy@fbn.cx>
Fri, 7 Oct 2011 16:20:59 +0000 (12:20 -0400)
src/cx/fbn/nevernote/Global.java

index 6808570..1211ed8 100644 (file)
@@ -200,14 +200,14 @@ public class Global {
                setWordRegex(regex);\r
                settings.endGroup();\r
                \r
-               // Setup debugging information\r
-               //settings.beginGroup("Debug");\r
-               //String msglevel = (String) settings.value("messageLevel", "Low");\r
-               //settings.endGroup();\r
+               //Setup debugging information\r
+               settings.beginGroup("Debug");\r
+               String msglevel = (String) settings.value("messageLevel", "Low");\r
+               settings.endGroup();\r
                \r
                \r
                //messageLevel = 1;\r
-               //setMessageLevel(msglevel);\r
+               setMessageLevel(msglevel);\r
                keepRunning = true;  // Make sure child threads stay running\r
                disableUploads = disableUploads();  // Should we upload anything?  Normally true.\r
                enableCarriageReturnFix = enableCarriageReturnFix();  // Enable test fix?\r