<div dir="ltr"><div><div><div>Hello,<br></div>I think it's just because you forgot to modify the NS3 Log Component Name.<br></div>Please check your custom-app1.cpp and ensure there is a line like this:<br><br>NS_LOG_COMPONENT_DEFINE("CustomApp1");  //CustomApp1 is the "component name" you want to use in NS_LOG<br><br></div>The log component is combined with file but not class. So maybe you assigned different names to you app class and the log component.<br><br><div><div><div><div><div><div>Best wishes,</div><div>Xinyu, Ma.<br></div><div><br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Hi all,<br>
<br>
I am trying to create my own custom app. I have copyed the custom-app.ccp and customp-app.hpp and renamed them as custom-app1 . launched ./waf then NS_LOG=Custom-app1 ./waf --run=my_scenario. However, I get this error:<br>
<br>
"Invalid or unregistered component name "CustomApp1" in env variable NS_LOG.<br>
<br>
Help please<br>
<br>
<br>
Cordialement / Best regards<br>
Rihab BOUSSADA<br>
Doctorante / PhD Student<br>
ENSI<br><br></blockquote></div></div></div></div></div></div></div></div></div>