diff options
author | Chris Wilson <chris+github@qwirx.com> | 2014-11-23 22:01:27 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2014-11-23 22:01:27 +0000 |
commit | 3621d57a95b858236921d8a9a22fb7568e451dc7 (patch) | |
tree | 5ad3efdc9a01b81486703e001030fbcdae91b535 /lib/backupclient/BackupDaemonConfigVerify.cpp | |
parent | 21413fad9f0f0987f486652cb31c1f0f45a71fb6 (diff) |
Fix compile errors introduced by previous commit.
Add a LogFileOverwrite option to allow configuring whether LogFile is
overwritten or appended to. Overwriting happens at startup, and the start
of each backup in bbackupd (via ResetLogFile()).
Diffstat (limited to 'lib/backupclient/BackupDaemonConfigVerify.cpp')
-rw-r--r-- | lib/backupclient/BackupDaemonConfigVerify.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/backupclient/BackupDaemonConfigVerify.cpp b/lib/backupclient/BackupDaemonConfigVerify.cpp index a3b95335..8f8746b5 100644 --- a/lib/backupclient/BackupDaemonConfigVerify.cpp +++ b/lib/backupclient/BackupDaemonConfigVerify.cpp @@ -102,6 +102,8 @@ static const ConfigurationVerifyKey verifyrootkeys[] = // enable logging to a file ConfigurationVerifyKey("LogFileLevel", 0), // set the level of verbosity of file logging + ConfigurationVerifyKey("LogFileOverwrite", ConfigTest_IsBool, false), + // overwrite the log file on each backup ConfigurationVerifyKey("CommandSocket", 0), // not compulsory to have this ConfigurationVerifyKey("KeepAliveTime", ConfigTest_IsInt), |