summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenri Herscher <henri@oreka.org>2005-11-16 04:28:46 +0000
committerHenri Herscher <henri@oreka.org>2005-11-16 04:28:46 +0000
commitc6ca8207051cbee951d168d4316e26c812161aa4 (patch)
treec1f22ad4e385b6277b66b465c7b31b0857aabc87
parent901ba08dfcc1a3fde28aea465df8926bf513362f (diff)
Logging properties file now taken from /etc/oreka if found there
git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@46 09dcff7a-b715-0410-9601-b79a96267cd0
-rw-r--r--orkaudio/LogManager.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/orkaudio/LogManager.cpp b/orkaudio/LogManager.cpp
index d22589a..ba955d1 100644
--- a/orkaudio/LogManager.cpp
+++ b/orkaudio/LogManager.cpp
@@ -23,6 +23,9 @@ void OrkLogManager::Initialize()
BasicConfigurator::configure();
// If this one fails, the above default configuration stays valid
+ PropertyConfigurator::configure("/etc/oreka/logging.properties");
+
+ // If this one fails, the above default configuration stays valid
PropertyConfigurator::configure("logging.properties");
rootLog = Logger::getLogger("root");