Project

General

Profile

Bug #3774

Updated by Junxiao Shi about 8 years ago

AutoPrefixPropagator gives misleading/erroneous log messages.  

 To replicate: 

 
 1. Start NFD via nfd-start 
 2. Start a repo with data prefix "/ndn/foo/bar" 

 NFD log shows: 

 ``` 
 <pre> 
 473626058.131745 INFO: [AutoPrefixPropagator] no hub connected to propagate /ndn/foo/bar 
 1473626058.131745 INFO: [AutoPrefixPropagator] no hub connected to propagate /ndn/foo/bar 
 1473626058.135969 INFO: [AutoPrefixPropagator] prefix has already been propagated: /ndn/foo/bar 
 1473626058.135969 INFO: [AutoPrefixPropagator] prefix has already been propagated: /ndn/foo/bar 
 ``` </pre> 

 Second pair of messages imply that propagation has occurred. This is not the case.   
     Log messages should accurately describe the state of propagation.

Back