diff --git a/src/bzh/plealog/dbmirror/util/log/LoggerCentral.java b/src/bzh/plealog/dbmirror/util/log/LoggerCentral.java index 60f1186..0fc2202 100755 --- a/src/bzh/plealog/dbmirror/util/log/LoggerCentral.java +++ b/src/bzh/plealog/dbmirror/util/log/LoggerCentral.java @@ -294,7 +294,7 @@ private static void initLoggers(ConfigurationBuilder builder builder.newAppenderRef(refAppender)).addAttribute("additivity", false)); builder.add(builder.newRootLogger(aLevel).add(builder.newAppenderRef(refAppender))); - Configurator.initialize(builder.build()); + Configurator.reconfigure(builder.build()); } /** @@ -336,7 +336,7 @@ private static void configureRollingFileLogger(Level aLevel, String logName) { userPath = getLogAppPath(); szLogFileName = userPath + _logAppFile; szLogFilePattern = userPath + "%d{MM-dd-yy}-" + _logAppFile; - + System.out.println("**** LogFile: "+szLogFileName); try { cleanSystemLogs(userPath, _logAppFile); } catch (Exception e) {