From: Ben Soares Date: Thu, 19 Oct 2023 19:40:14 +0000 (+0100) Subject: JAL-629 Fix --nodebug turning off debug mode from properties X-Git-Tag: Release_2_11_4_0~132^2~7 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=a8f8ffcf78dcc7bd81b56caaa1143101b6bd3afd;p=jalview.git JAL-629 Fix --nodebug turning off debug mode from properties --- diff --git a/src/jalview/bin/Jalview.java b/src/jalview/bin/Jalview.java index 783f533..f24eb09 100755 --- a/src/jalview/bin/Jalview.java +++ b/src/jalview/bin/Jalview.java @@ -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)) {