From afcdbc42abfa060d7145593f2617ae8d5f6cc674 Mon Sep 17 00:00:00 2001 From: Daan Hoogland Date: Tue, 4 Aug 2015 00:18:26 +0200 Subject: [PATCH] CLOUDSTACK-8656: log initialisation logging --- usage/src/com/cloud/usage/UsageServer.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/usage/src/com/cloud/usage/UsageServer.java b/usage/src/com/cloud/usage/UsageServer.java index d4f19eba376..246ad06eba6 100644 --- a/usage/src/com/cloud/usage/UsageServer.java +++ b/usage/src/com/cloud/usage/UsageServer.java @@ -89,6 +89,7 @@ public class UsageServer implements Daemon { try { Log4jConfigurer.initLogging(file.getAbsolutePath()); } catch (FileNotFoundException e) { + s_logger.info("[ignored] log initialisation ;)" + e.getLocalizedMessage(), e); } DOMConfigurator.configureAndWatch(file.getAbsolutePath()); @@ -99,6 +100,7 @@ public class UsageServer implements Daemon { try { Log4jConfigurer.initLogging(file.getAbsolutePath()); } catch (FileNotFoundException e) { + s_logger.info("[ignored] log properties initialization :)" + e.getLocalizedMessage(), e); } PropertyConfigurator.configureAndWatch(file.getAbsolutePath()); }