Changeset 5638 for source/ariba/overlay
- Timestamp:
- Aug 4, 2009, 10:17:33 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
source/ariba/overlay/BaseOverlay.cpp
r5624 r5638 127 127 // get descriptor of first hop 128 128 rld = getDescriptor(rlid); 129 logging_ force( rld );129 logging_info( rld ); 130 130 131 131 // is first hop a relay path? yes-> try to find real link! … … 154 154 return NodeID::UNSPECIFIED; 155 155 else { 156 logging_ force( "Returning relay node " << relayNode.toString() );156 logging_info( "Returning relay node " << relayNode.toString() ); 157 157 return relayNode; 158 158 } … … 810 810 // if link is a relayed link ->convert to direct link 811 811 if (ld->relay) { 812 logging_ force( "Converting to direct link: " << ld );812 logging_info( "Converting to direct link: " << ld ); 813 813 ld->up = true; 814 814 ld->relay = false; … … 836 836 LinkDescriptor* ld = getDescriptor(id, true); 837 837 if ( ld == NULL ) return; // not found? ->ignore! 838 logging_ force( "onLinkDown descriptor: " << ld );838 logging_info( "onLinkDown descriptor: " << ld ); 839 839 840 840 // inform listeners about link down … … 1426 1426 logging_debug( "received keep-alive on link" ); 1427 1427 if ( ld != NULL ) { 1428 logging_ force("Keep-Alive for "<< ld->overlayId);1428 logging_info("Keep-Alive for "<< ld->overlayId); 1429 1429 ld->markAlive(); 1430 1430 } … … 1445 1445 break; 1446 1446 } 1447 logging_ force( "Received direct link convert notification for " << rld );1447 logging_info( "Received direct link convert notification for " << rld ); 1448 1448 1449 1449 // set communcation link id and set it up … … 1560 1560 // missed more than four keep-alive messages (10 sec)? -> drop link 1561 1561 if (ld->keepAliveMissed > 4) { 1562 logging_ force( "Link connection request is stale, closing: " << ld );1562 logging_info( "Link connection request is stale, closing: " << ld ); 1563 1563 oldlinks.push_back( ld ); 1564 1564 continue; … … 1588 1588 // missed more than four keep-alive messages (4 sec)? -> drop link 1589 1589 if (ld->keepAliveMissed >= 8) { 1590 logging_ force( "Link is stale, closing: " << ld );1590 logging_info( "Link is stale, closing: " << ld ); 1591 1591 oldlinks.push_back( ld ); 1592 1592 continue; … … 1602 1602 1603 1603 if (!ld->communicationId.isUnspecified() && it != bootstrapLinks.end() ){ 1604 logging_ force( "Not dropping initiator link: " << ld );1604 logging_info( "Not dropping initiator link: " << ld ); 1605 1605 continue; 1606 1606 } 1607 1607 */ 1608 logging_ force( "Link timed out. Dropping " << ld );1608 logging_info( "Link timed out. Dropping " << ld ); 1609 1609 dropLink( ld->overlayId ); 1610 1610 } … … 1618 1618 void BaseOverlay::showLinkState() { 1619 1619 int i=0; 1620 logging_ force("--- link state -------------------------------");1620 logging_info("--- link state -------------------------------"); 1621 1621 BOOST_FOREACH( LinkDescriptor* ld, links ) { 1622 logging_ force("link " << i << ": " << ld);1622 logging_info("link " << i << ": " << ld); 1623 1623 i++; 1624 1624 } 1625 logging_ force("----------------------------------------------");1625 logging_info("----------------------------------------------"); 1626 1626 } 1627 1627
Note:
See TracChangeset
for help on using the changeset viewer.