diff options
author | Chris Wilson <chris+github@qwirx.com> | 2007-01-11 23:01:30 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2007-01-11 23:01:30 +0000 |
commit | ecd8635aecde4841daaa447cddcc395894859774 (patch) | |
tree | 2c61a5c0394e9be3a4eef734ae2128879a8c7b21 /bin/bbackupd/BackupDaemon.h | |
parent | 4201fdff12c3aea7d65b17ee2a0319c81fc41799 (diff) |
Added logging of directory scans and excluded files. (refs #3)
Diffstat (limited to 'bin/bbackupd/BackupDaemon.h')
-rw-r--r-- | bin/bbackupd/BackupDaemon.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/bin/bbackupd/BackupDaemon.h b/bin/bbackupd/BackupDaemon.h index 9d1eab6c..275603fc 100644 --- a/bin/bbackupd/BackupDaemon.h +++ b/bin/bbackupd/BackupDaemon.h @@ -224,6 +224,30 @@ public: BOX_WARNING("Failed to list directory: " << rLocalPath << ": " << rErrorMsg); } + virtual void NotifyFileExcluded( + const BackupClientDirectoryRecord* pDirRecord, + const std::string& rLocalPath) + { + if (mLogAllFileAccess) + { + BOX_INFO("Skipping excluded file: " << rLocalPath); + } + } + virtual void NotifyDirExcluded( + const BackupClientDirectoryRecord* pDirRecord, + const std::string& rLocalPath) + { + if (mLogAllFileAccess) + { + BOX_INFO("Skipping excluded directory: " << rLocalPath); + } + } + virtual void NotifyUnsupportedFileType( + const BackupClientDirectoryRecord* pDirRecord, + const std::string& rLocalPath) + { + BOX_WARNING("Ignoring file of unknown type: " << rLocalPath); + } virtual void NotifyFileReadFailed( const BackupClientDirectoryRecord* pDirRecord, const std::string& rLocalPath, |