Changeset 3029 for box


Ignore:
Timestamp:
24/10/2011 21:31:13 (7 months ago)
Author:
chris
Message:

Add debug logging for conversion from VSS to real path.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • box/trunk/bin/bbackupd/BackupClientDirectoryRecord.cpp

    r3025 r3029  
    108108{ 
    109109#ifdef ENABLE_VSS 
     110        BOX_TRACE("VSS: ConvertVssPathToRealPath: mIsSnapshotCreated = " << 
     111                rBackupLocation.mIsSnapshotCreated); 
     112        BOX_TRACE("VSS: ConvertVssPathToRealPath: File/Directory Path = " << 
     113                rVssPath.substr(0, rBackupLocation.mSnapshotPath.length())); 
     114        BOX_TRACE("VSS: ConvertVssPathToRealPath: Snapshot Path = " << 
     115                rBackupLocation.mSnapshotPath); 
    110116        if (rBackupLocation.mIsSnapshotCreated && 
    111117                rVssPath.substr(0, rBackupLocation.mSnapshotPath.length()) == 
    112118                rBackupLocation.mSnapshotPath) 
    113119        { 
    114                 return rBackupLocation.mPath + 
     120                std::string convertedPath = rBackupLocation.mPath + 
    115121                        rVssPath.substr(rBackupLocation.mSnapshotPath.length()); 
     122                BOX_TRACE("VSS: ConvertVssPathToRealPath: Converted Path = " << 
     123                        convertedPath); 
     124                return convertedPath; 
    116125        } 
    117126#endif 
Note: See TracChangeset for help on using the changeset viewer.