Prechádzať zdrojové kódy

2010-09-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>

	Print a message in console when download is not complete.
	* src/RequestGroupMan.cc
Tatsuhiro Tsujikawa 15 rokov pred
rodič
commit
50a89e2592
2 zmenil súbory, kde vykonal 8 pridanie a 0 odobranie
  1. 5 0
      ChangeLog
  2. 3 0
      src/RequestGroupMan.cc

+ 5 - 0
ChangeLog

@@ -1,3 +1,8 @@
+2010-09-15  Tatsuhiro Tsujikawa  <t-tujikawa@users.sourceforge.net>
+
+	Print a message in console when download is not complete.
+	* src/RequestGroupMan.cc
+
 2010-09-15  Tatsuhiro Tsujikawa  <t-tujikawa@users.sourceforge.net>
 
 	Don't set error in ServerStat just because resource is not

+ 3 - 0
src/RequestGroupMan.cc

@@ -341,6 +341,9 @@ public:
             e_->getRequestGroupMan()->insertReservedGroup(0, nextGroups);
           }
         } else {
+          logger_->notice("Download GID#%s not complete: %s",
+                          util::itos(group->getGID()).c_str(),
+                          group->getDownloadContext()->getBasePath().c_str());
           group->saveControlFile();
         }
       } catch(RecoverableException& ex) {