Changeset 6854 for source/ariba/overlay/BaseOverlay.cpp
- Timestamp:
- Nov 5, 2009, 6:58:38 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
source/ariba/overlay/BaseOverlay.cpp
r6851 r6854 567 567 if (!ldr->up && !ignore_down) { 568 568 logging_error("Can not send message. Link not up:" << ldr ); 569 logging_error("DEBUG_INFO: " << debugInformation() ); 569 570 return -1; 570 571 } … … 578 579 if (ld==NULL) { 579 580 logging_error("No relay path found to link " << ldr ); 581 logging_error("DEBUG_INFO: " << debugInformation() ); 580 582 return -1; 581 583 } … … 2239 2241 } 2240 2242 2243 std::string BaseOverlay::debugInformation() { 2244 std::stringstream s; 2245 int i=0; 2246 2247 // dump overlay information 2248 s << "--- overlay information ----------------------" << endl; 2249 s << overlayInterface->debugInformation() << endl; 2250 s << "----------------------------------------------" << endl; 2251 2252 // dump link state 2253 s << "--- link state -------------------------------" << endl; 2254 BOOST_FOREACH( LinkDescriptor* ld, links ) { 2255 s << "link " << i << ": " << ld << endl; 2256 i++; 2257 } 2258 s << endl; 2259 2260 return s.str(); 2261 } 2241 2262 2242 2263 }} // namespace ariba, overlay
Note:
See TracChangeset
for help on using the changeset viewer.