Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Disable logging from ns3.
authorArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Wed, 18 Oct 2017 13:14:41 +0000 (15:14 +0200)
committerArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Wed, 18 Oct 2017 16:45:42 +0000 (18:45 +0200)
The last two lines are likely dating from tests of the early days of network_ns3.

src/surf/network_ns3.cpp

index ec74310..721e483 100644 (file)
@@ -153,10 +153,6 @@ NetworkNS3Model::NetworkNS3Model() : NetworkModel() {
   simgrid::surf::on_cluster.connect(&clusterCreation_cb);
   simgrid::s4u::onPlatformCreated.connect(&postparse_cb);
   simgrid::s4u::NetZone::onRouteCreation.connect(&routeCreation_cb);
-
-  LogComponentEnable("PacketSink", ns3::LOG_LEVEL_INFO);
-  LogComponentEnable("UdpEchoClientApplication", ns3::LOG_LEVEL_INFO);
-  LogComponentEnable("UdpEchoServerApplication", ns3::LOG_LEVEL_INFO);
 }
 
 NetworkNS3Model::~NetworkNS3Model() {