2010-03-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>

Added debug log.
	* src/AbstractCommand.cc
pull/1/head
Tatsuhiro Tsujikawa 2010-03-07 03:11:14 +00:00
parent f3973e5a12
commit 7f593c3ff8
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2010-03-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added debug log.
* src/AbstractCommand.cc
2010-03-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Create CreateRequestCommand to the number of -s/-C when URIs are

View File

@ -162,6 +162,9 @@ bool AbstractCommand::execute() {
// When all segments are ignored in SegmentMan, there are
// no URIs available, so don't retry.
if(_requestGroup->getSegmentMan()->allSegmentsIgnored()) {
if(logger->debug()) {
logger->debug("All segments are ignored.");
}
return true;
} else {
return prepareForRetry(1);