diff options
author | Chris Wilson <chris+github@qwirx.com> | 2010-11-17 10:28:35 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2010-11-17 10:28:35 +0000 |
commit | e2625c35de1b7f1d065a1f4708ae6bdee4c92013 (patch) | |
tree | a1f6c7017a48db42a864fbfc42cc501c82ded6cf /lib/server/Daemon.h | |
parent | cc946170089b0ae80a12594fc2d8bddb6324cc00 (diff) |
Add log file logging to all daemons.
Diffstat (limited to 'lib/server/Daemon.h')
-rw-r--r-- | lib/server/Daemon.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/server/Daemon.h b/lib/server/Daemon.h index 82532366..6e55be3b 100644 --- a/lib/server/Daemon.h +++ b/lib/server/Daemon.h @@ -99,6 +99,9 @@ private: bool mKeepConsoleOpenAfterFork; bool mHaveConfigFile; int mLogLevel; // need an int to do math with + std::string mLogFile; + Log::Level mLogFileLevel; + std::auto_ptr<FileLogger> mapLogFileLogger; static Daemon *spDaemon; std::string mAppName; }; |