--- a/servlib/bundling/BundleDaemon.cc Wed Aug 03 14:35:09 2011 +0100
+++ b/servlib/bundling/BundleDaemon.cc Wed Aug 10 13:38:52 2011 +0100
@@ -717,12 +717,14 @@
stats_.generated_bundles_++;
source_str = " (from fragmentation)";
s10_bundle(S10_OHCRAP,bundle,NULL,0,0,NULL,"__FILE__:__LINE__");
+ log_debug("S10_OHCRAP - eventsrc: %s", source_str);
break;
case EVENTSRC_ROUTER:
stats_.generated_bundles_++;
source_str = " (from router)";
s10_bundle(S10_OHCRAP,bundle,NULL,0,0,NULL,"__FILE__:__LINE__");
+ log_debug("S10_OHCRAP - eventsrc: %s", source_str);
break;
case EVENTSRC_CACHE:
@@ -734,6 +736,7 @@
default:
s10_bundle(S10_OHCRAP,bundle,NULL,0,0,NULL,"__FILE__:__LINE__");
+ log_debug("S10_OHCRAP - nknown eventsrc: %s", event->source_);
NOTREACHED;
}
@@ -873,11 +876,12 @@
*/
Bundle* duplicate = find_duplicate(bundle);
if (duplicate != NULL) {
- log_notice("got duplicate bundle: %s -> %s creation %llu.%llu",
+ log_notice("got duplicate bundle: %s -> %s creation %llu.%llu frag_offset %llu",
bundle->source().c_str(),
bundle->dest().c_str(),
bundle->creation_ts().seconds_,
- bundle->creation_ts().seqno_);
+ bundle->creation_ts().seqno_,
+ bundle->frag_offset());
s10_bundle(S10_DUP,bundle,NULL,0,0,NULL,"__FILE__:__LINE__");
stats_.duplicate_bundles_++;