summaryrefslogtreecommitdiff
path: root/bin/bbstored/HousekeepStoreAccount.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'bin/bbstored/HousekeepStoreAccount.cpp')
-rw-r--r--bin/bbstored/HousekeepStoreAccount.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/bin/bbstored/HousekeepStoreAccount.cpp b/bin/bbstored/HousekeepStoreAccount.cpp
index 166a58e6..dde813f9 100644
--- a/bin/bbstored/HousekeepStoreAccount.cpp
+++ b/bin/bbstored/HousekeepStoreAccount.cpp
@@ -122,6 +122,12 @@ void HousekeepStoreAccount::DoHousekeeping(bool KeepTryingForever)
BackupStoreInfo::Load(mAccountID, mStoreRoot, mStoreDiscSet,
true /* Read Only */));
+ // Tag log output to identify account
+ std::ostringstream tag;
+ tag << "hk/" << BOX_FORMAT_ACCOUNT(mAccountID) << "/" <<
+ info->GetAccountName();
+ Logging::Tagger tagWithClientID(tag.str());
+
// Calculate how much should be deleted
mDeletionSizeTarget = info->GetBlocksUsed() - info->GetBlocksSoftLimit();
if(mDeletionSizeTarget < 0)