summaryrefslogtreecommitdiff
path: root/pdf-over-gui/src/main
diff options
context:
space:
mode:
authorJakob Heher <jakob.heher@iaik.tugraz.at>2022-06-15 14:28:47 +0200
committerJakob Heher <jakob.heher@iaik.tugraz.at>2022-06-15 14:28:47 +0200
commit6e9ab30251f613a973719fa7640d062e3f269669 (patch)
treed994d466cba8e2f183d66ee01f5817100446cabc /pdf-over-gui/src/main
parent423b2917d9895c84dae60489cf73759cd7c4187a (diff)
downloadpdf-over-6e9ab30251f613a973719fa7640d062e3f269669.tar.gz
pdf-over-6e9ab30251f613a973719fa7640d062e3f269669.tar.bz2
pdf-over-6e9ab30251f613a973719fa7640d062e3f269669.zip
log system properties on startup
Diffstat (limited to 'pdf-over-gui/src/main')
-rw-r--r--pdf-over-gui/src/main/java/at/asit/pdfover/gui/Main.java3
1 files changed, 3 insertions, 0 deletions
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()) {