Project

General

Profile

Bug #3774

Updated by Jeff Burke 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" 

 <pre> 
 NFD log shows: 
 <pre> 
 shows  
 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