From 3435e88c8885203542f8d8bfd947c4990d973408 Mon Sep 17 00:00:00 2001 From: ulrich <undisclosed> Date: Sat, 23 Jun 2018 11:47:53 +0000 Subject: [PATCH] Logging verfeinert --- src/de/uhilger/bildhelfer/Main.java | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/src/de/uhilger/bildhelfer/Main.java b/src/de/uhilger/bildhelfer/Main.java index 41d47ba..18cb586 100644 --- a/src/de/uhilger/bildhelfer/Main.java +++ b/src/de/uhilger/bildhelfer/Main.java @@ -4,6 +4,17 @@ public class Main { + + /* + String logFile = System.getProperty("java.util.logging.config.file"); + if(logFile == null){ + LogManager.getLogManager().readConfiguration(ReportGenerator.class.getClassLoader().getResourceAsStream("logging.properties")); + } + Logger logger = Logger.getLogger(ReportGenerator.class.getName()); + logger.log(Level.INFO, "LOG THIS"); + */ + + private static final Logger logger = Logger.getLogger(Main.class.getName()); public static void main(String[] args) { -- Gitblit v1.9.3