Ignore:
Timestamp:
26/09/2008 23:18:35 (4 years ago)
Author:
chris
Message:

Add file logging support (LogFile and LogFileLevel config options).

Ensure that backup-finish is always called, and add a new event,
backup-ok, which is called just before backup-finish when the backup
run was successful.

Keep track of the last backup status notification sent (excluding
backup-start and backup-finish) and send a notification whenever it
changes.

Add a new boolean option, NotifyAlways?, to override that check and
always send notifications to the NotifyScript after every backup run,
for notify scripts which do their own state tracking or otherwise
require notification on every event.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • box/trunk/lib/backupclient/BackupDaemonConfigVerify.cpp

    r2127 r2302  
    9898        // extended log to a file 
    9999        ConfigurationVerifyKey("LogAllFileAccess", ConfigTest_IsBool, false), 
     100        // enable logging reasons why each file is backed up or not 
     101        ConfigurationVerifyKey("LogFile", 0), 
     102        // enable logging to a file 
     103        ConfigurationVerifyKey("LogFileLevel", 0), 
     104        // set the level of verbosity of file logging 
    100105        ConfigurationVerifyKey("CommandSocket", 0), 
    101106        // not compulsory to have this 
     
    107112        // optional script to run when backup needs attention, eg store full 
    108113         
     114        ConfigurationVerifyKey("NotifyAlways", ConfigTest_IsBool, false), 
     115        // option to disable the suppression of duplicate notifications 
     116 
    109117        ConfigurationVerifyKey("CertificateFile", ConfigTest_Exists), 
    110118        ConfigurationVerifyKey("PrivateKeyFile", ConfigTest_Exists), 
Note: See TracChangeset for help on using the changeset viewer.