Changeset 2115 for box/trunk/bin/bbackupd/BackupDaemon.cpp
- Timestamp:
- 28/03/2008 22:18:44 (4 years ago)
- File:
-
- 1 edited
-
box/trunk/bin/bbackupd/BackupDaemon.cpp (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
box/trunk/bin/bbackupd/BackupDaemon.cpp
r2109 r2115 1813 1813 #endif // HAVE_STRUCT_STATVFS_F_MNTONNAME 1814 1814 { 1815 BOX_ WARNING("Failed to stat location "1815 BOX_LOG_SYS_WARNING("Failed to stat location " 1816 1816 "path '" << apLoc->mPath << 1817 "' (" << strerror(errno) << 1818 "), skipping location '" << 1817 "', skipping location '" << 1819 1818 apLoc->mName << "'"); 1820 1819 continue; … … 2190 2189 if(::rename(newmap.c_str(), target.c_str()) != 0) 2191 2190 { 2192 BOX_ERROR("failed to rename ID map: " << newmap 2193 << " to " << target << ": " 2194 << strerror(errno)); 2191 BOX_LOG_SYS_ERROR("Failed to rename ID map: " << 2192 newmap << " to " << target); 2195 2193 THROW_EXCEPTION(CommonException, OSFileError) 2196 2194 } … … 3056 3054 if(!FileExists(storeObjectInfoFile.c_str())) 3057 3055 { 3058 // File doesn't exist -- so can't be deleted. But something isn't quite right, so log a message 3059 BOX_WARNING("Store object info file did not exist when it " 3060 "was supposed to. (" << storeObjectInfoFile << ")"); 3056 // File doesn't exist -- so can't be deleted. But something 3057 // isn't quite right, so log a message 3058 BOX_WARNING("StoreObjectInfoFile did not exist when it " 3059 "was supposed to: " << storeObjectInfoFile); 3061 3060 3062 3061 // Return true to stop things going around in a loop … … 3067 3066 if(::unlink(storeObjectInfoFile.c_str()) != 0) 3068 3067 { 3069 BOX_ ERROR("Failed to delete the old store object info file:"3070 << storeObjectInfoFile << ": "<< strerror(errno));3068 BOX_LOG_SYS_ERROR("Failed to delete the old " 3069 "StoreObjectInfoFile: " << storeObjectInfoFile); 3071 3070 return false; 3072 3071 }
Note: See TracChangeset
for help on using the changeset viewer.
