make the complaints about missing v2hidserv directories quieter,

at least until we're *supposed* to have any of them.


svn:r12431
This commit is contained in:
Roger Dingledine 2007-11-08 04:21:35 +00:00
parent e12cf29960
commit 1d61b54227
2 changed files with 4 additions and 2 deletions

View File

@ -3166,7 +3166,8 @@ directory_get_from_hs_dir(const char *desc_id, const char *query)
tor_assert(strlen(query) == REND_SERVICE_ID_LEN);
/* Determine responsible dirs. */
if (hid_serv_get_responsible_directories(responsible_dirs, desc_id) < 0) {
log_warn(LD_REND, "Could not determine the responsible hidden service "
/* XXX020 make this louder once we have some v2hidservs */
log_info(LD_REND, "Could not determine the responsible hidden service "
"directories to fetch descriptors.");
smartlist_free(responsible_dirs);
return;

View File

@ -4471,7 +4471,8 @@ hid_serv_get_responsible_directories(smartlist_t *responsible_dirs,
i = 0;
} while (i != start);
log_warn(LD_REND, "We don't have enough hidden service directories to "
/* XXX020 make this louder once we have some v2hidservs */
log_info(LD_REND, "We don't have enough hidden service directories to "
"perform v2 rendezvous operations!");
return -1;
}