diff options
author | Nick Mathewson <nickm@torproject.org> | 2005-10-05 20:45:18 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2005-10-05 20:45:18 +0000 |
commit | 1ebbaf5c3aa880d7ce2268c61e79bf0b52dd6a07 (patch) | |
tree | dfac3cf456057bfef53ea5195bf5360015fca26a /src/or/directory.c | |
parent | 5c11d23ab0dec9e068956dbc97e7d7f9ac673b18 (diff) | |
download | tor-1ebbaf5c3aa880d7ce2268c61e79bf0b52dd6a07.tar.gz tor-1ebbaf5c3aa880d7ce2268c61e79bf0b52dd6a07.zip |
improve INFO-level logging for directory downloads. This is still too chatty, but it will help us analyze things.
svn:r5197
Diffstat (limited to 'src/or/directory.c')
-rw-r--r-- | src/or/directory.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/or/directory.c b/src/or/directory.c index 729bd86a8d..ba6e5234b8 100644 --- a/src/or/directory.c +++ b/src/or/directory.c @@ -1633,13 +1633,13 @@ dir_routerdesc_download_failed(smartlist_t *failed) } } if (rs->next_attempt_at == 0) - log_fn(LOG_INFO, "%s failed %d time(s); I'll try again immediately.", + log_fn(LOG_DEBUG, "%s failed %d time(s); I'll try again immediately.", cp, (int)rs->n_download_failures); else if (rs->next_attempt_at < TIME_MAX) - log_fn(LOG_INFO, "%s failed %d time(s); I'll try again in %d seconds.", + log_fn(LOG_DEBUG, "%s failed %d time(s); I'll try again in %d seconds.", cp, (int)rs->n_download_failures, (int)(rs->next_attempt_at-now)); else - log_fn(LOG_INFO, "%s failed %d time(s); Giving up for a while.", + log_fn(LOG_DEBUG, "%s failed %d time(s); Giving up for a while.", cp, (int)rs->n_download_failures); }); |