summaryrefslogtreecommitdiff
path: root/lib/server/Daemon.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/server/Daemon.cpp')
-rw-r--r--lib/server/Daemon.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/server/Daemon.cpp b/lib/server/Daemon.cpp
index f50a9c9a..07ca705b 100644
--- a/lib/server/Daemon.cpp
+++ b/lib/server/Daemon.cpp
@@ -101,7 +101,13 @@ int Daemon::Main(const char *DefaultConfigFile, int argc, const char *argv[])
mConfigFileName = DefaultConfigFile;
bool haveConfigFile = false;
bool singleProcess = false;
+
+ #ifdef NDEBUG
int masterLevel = Log::NOTICE; // need an int to do math with
+ #else
+ int masterLevel = Log::TRACE; // need an int to do math with
+ #endif
+
char c;
while((c = getopt(argc, (char * const *)argv, "c:Dqv")) != -1)