path: root/bin/bbackupquery
diff options
authorChris Wilson <>2014-11-23 22:01:27 +0000
committerChris Wilson <>2014-11-23 22:01:27 +0000
commit3621d57a95b858236921d8a9a22fb7568e451dc7 (patch)
tree5ad3efdc9a01b81486703e001030fbcdae91b535 /bin/bbackupquery
parent21413fad9f0f0987f486652cb31c1f0f45a71fb6 (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 'bin/bbackupquery')
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/bbackupquery/bbackupquery.cpp b/bin/bbackupquery/bbackupquery.cpp
index 62315b12..e10c48fe 100644
--- a/bin/bbackupquery/bbackupquery.cpp
+++ b/bin/bbackupquery/bbackupquery.cpp
@@ -309,7 +309,8 @@ int main(int argc, const char *argv[])
std::auto_ptr<FileLogger> fileLogger;
if (fileLogLevel != Log::INVALID)
- fileLogger.reset(new FileLogger(fileLogFile, fileLogLevel));
+ fileLogger.reset(new FileLogger(fileLogFile, fileLogLevel,
+ true)); // open in append mode
BOX_NOTICE(BANNER_TEXT("Backup Query Tool"));