summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2010-11-17 13:28:16 +0000
committerChris Wilson <chris+github@qwirx.com>2010-11-17 13:28:16 +0000
commit68f20dab9b55bd414288a95471f79589e72d1f4a (patch)
treec9c5b5590f5e9a7058aefc4d41beca30af83a97a
parente2625c35de1b7f1d065a1f4708ae6bdee4c92013 (diff)
Finish enabling the file logging option for daemons.
-rw-r--r--lib/server/Daemon.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/server/Daemon.cpp b/lib/server/Daemon.cpp
index e2df8a56..22239bd9 100644
--- a/lib/server/Daemon.cpp
+++ b/lib/server/Daemon.cpp
@@ -64,6 +64,7 @@ Daemon::Daemon()
mKeepConsoleOpenAfterFork(false),
#endif
mHaveConfigFile(false),
+ mLogFileLevel(Log::INVALID),
mAppName(DaemonName())
{
// In debug builds, switch on assert failure logging to syslog
@@ -100,9 +101,9 @@ std::string Daemon::GetOptionString()
{
return "c:"
#ifndef WIN32
- "DFK"
+ "DF"
#endif
- "hkPqQt:TUvVW:";
+ "hkKo:O:PqQt:TUvVW:";
}
void Daemon::Usage()