JAL-629 Fix --nodebug turning off debug mode from properties
authorBen Soares <b.soares@dundee.ac.uk>
Thu, 19 Oct 2023 19:40:14 +0000 (20:40 +0100)
committerBen Soares <b.soares@dundee.ac.uk>
Thu, 19 Oct 2023 19:40:14 +0000 (20:40 +0100)
src/jalview/bin/Jalview.java

index 783f533..f24eb09 100755 (executable)
@@ -449,7 +449,7 @@ public class Jalview implements JalviewObjectI
       }
       else if (bootstrapArgs.contains(Arg.DEBUG))
       {
-        logLevel = "DEBUG";
+        logLevel = bootstrapArgs.getBoolean(Arg.DEBUG) ? "DEBUG" : "INFO";
       }
       if (logLevel == null && !(bootstrapProperties == null))
       {