From 6e9ab30251f613a973719fa7640d062e3f269669 Mon Sep 17 00:00:00 2001 From: Jakob Heher Date: Wed, 15 Jun 2022 14:28:47 +0200 Subject: log system properties on startup --- pdf-over-gui/src/main/java/at/asit/pdfover/gui/Main.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'pdf-over-gui/src/main/java') diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/Main.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/Main.java index 607120a7..1a9b7830 100644 --- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/Main.java +++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/Main.java @@ -46,6 +46,9 @@ public class Main { public static void main(String[] args) throws IOException { try { + log.info("This is " + Constants.APP_NAME_VERSION + ", " + + "running on " + System.getProperty("os.arch") + " " + System.getProperty("os.name") + ", " + + "powered by "+ System.getProperty("java.vendor") + " Java " + System.getProperty("java.version") + "."); File configDir = new File(Constants.CONFIG_DIRECTORY); if (!configDir.exists()) { -- cgit v1.2.3