diff options
author | Roger Dingledine <arma@torproject.org> | 2008-06-09 05:13:33 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2008-06-09 05:13:33 +0000 |
commit | 1ca2ead8c40b09862437fd63b9a04bd4465f5263 (patch) | |
tree | cba5e67ac2552d71ff121f32ee0cdeea6f026571 | |
parent | 3bb5d3ba6d9720542e4e67f973c4ee7bda23f24a (diff) | |
download | tor-1ca2ead8c40b09862437fd63b9a04bd4465f5263.tar.gz tor-1ca2ead8c40b09862437fd63b9a04bd4465f5263.zip |
when we haven't had any application requests lately, don't bother
logging when we have expired a bunch of descriptors.
svn:r15074
-rw-r--r-- | src/or/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/main.c b/src/or/main.c index a00a3faf4a..b9c8495cb8 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -641,7 +641,8 @@ directory_info_has_arrived(time_t now, int from_cache) or_options_t *options = get_options(); if (!router_have_minimum_dir_info()) { - log(LOG_NOTICE, LD_DIR, + quiet = directory_too_idle_to_fetch_descriptors(options, now); + log(quiet ? LOG_INFO : LOG_NOTICE, LD_DIR, "I learned some more directory information, but not enough to " "build a circuit: %s", get_dir_info_status_string()); update_router_descriptor_downloads(now); |