JAL-3609 Report when scale setting used.
authorBen Soares <b.soares@dundee.ac.uk>
Sun, 21 Jun 2020 00:24:10 +0000 (01:24 +0100)
committerBen Soares <b.soares@dundee.ac.uk>
Fri, 6 Nov 2020 15:51:08 +0000 (15:51 +0000)
src/jalview/bin/Launcher.java

index 5e6e48c..fecacbe 100644 (file)
@@ -156,6 +156,8 @@ public class Launcher
     String scalePropertyArg = HiDPISetting.getScalePropertyArg();
     if (scalePropertyArg != null)
     {
+      System.out.println("Running " + startClass + " with scale setting "
+              + scalePropertyArg);
       command.add(scalePropertyArg);
     }
 
@@ -166,7 +168,8 @@ public class Launcher
 
     // System.out.println("COMMAND: " + String.join(" ", builder.command()));
     System.out.println("Running " + startClass + " with "
-            + (memSetting == null ? "no memory setting" : memSetting));
+            + (memSetting == null ? "no memory setting"
+                    : ("memory setting " + memSetting)));
 
     if (Boolean.parseBoolean(System.getProperty("launcherstop")))
     {