From 6e191bfa1051d5eacd02b722028f09f347e91415 Mon Sep 17 00:00:00 2001 From: Tobias Kellner Date: Fri, 12 Dec 2014 13:51:59 +0100 Subject: Log version on startup --- pdf-over-gui/src/main/java/at/asit/pdfover/gui/DeveloperMain.java | 1 - pdf-over-gui/src/main/java/at/asit/pdfover/gui/Main.java | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) (limited to 'pdf-over-gui/src/main/java/at/asit') diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/DeveloperMain.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/DeveloperMain.java index d2ee7510..d4a76456 100644 --- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/DeveloperMain.java +++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/DeveloperMain.java @@ -39,7 +39,6 @@ public class DeveloperMain { * @param args */ public static void main(String[] args) { - //BasicConfigurator.configure(); // Set PDF-AS log4j configuration: 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 f28fc8b7..b6f7fdc2 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 @@ -53,6 +53,7 @@ public class Main { Messages.getString("error.TitleFatal"), //$NON-NLS-1$ JOptionPane.ERROR_MESSAGE); } + log.info("===== Starting " + Constants.APP_NAME_VERSION + " ====="); //$NON-NLS-1$ //$NON-NLS-2$ File configDir = new File(Constants.CONFIG_DIRECTORY); if(!configDir.exists()) { -- cgit v1.2.3