diff --git a/src/or/main.c b/src/or/main.c index cb39eb284b..289e8759c6 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -658,6 +658,8 @@ build_directory(directory_t *dir) { return -1; } if (my_routerinfo) { + log(LOG_INFO, "build_directory(): adding self (%d:%d)", + my_routerinfo->address, my_routerinfo->or_port); routers[n++] = my_routerinfo; } for(i = 0; iaddr,conn->port); if(!router) { - log(LOG_ERR,"dump_directory_to_string(): couldn\'t find router %d:%d!", + log(LOG_ERR,"build_directory(): couldn\'t find router %d:%d!", conn->addr,conn->port); continue; } + log(LOG_INFO, "build_directory(): adding router (%d:%d)", + router->address, router->or_port); routers[n++] = router; } dir->routers = routers;