cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject [01/30] git commit: updated refs/heads/master to 64ff67d
Date Fri, 14 Aug 2015 19:47:24 GMT
Repository: cloudstack
Updated Branches:
  refs/heads/master 05a29f01b -> 64ff67da5


CLOUDSTACK-8656: log initialisation logging

Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/afcdbc42
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/afcdbc42
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/afcdbc42

Branch: refs/heads/master
Commit: afcdbc42abfa060d7145593f2617ae8d5f6cc674
Parents: d32d6a2
Author: Daan Hoogland <daan@onecht.net>
Authored: Tue Aug 4 00:18:26 2015 +0200
Committer: Daan Hoogland <daan.hoogland@gmail.com>
Committed: Tue Aug 4 11:29:27 2015 +0200

----------------------------------------------------------------------
 usage/src/com/cloud/usage/UsageServer.java | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/afcdbc42/usage/src/com/cloud/usage/UsageServer.java
----------------------------------------------------------------------
diff --git a/usage/src/com/cloud/usage/UsageServer.java b/usage/src/com/cloud/usage/UsageServer.java
index d4f19eb..246ad06 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());
             }


Mime
View raw message