diff options
author | Roger Dingledine <arma@torproject.org> | 2006-01-10 20:59:39 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2006-01-10 20:59:39 +0000 |
commit | aea0a78254b58783a299ee2363443bf7dada5106 (patch) | |
tree | d9497c1d4ac7d0485f29dad9bd79b521c8617fb4 /src/or/circuitbuild.c | |
parent | bef879540a160ebb40d8c4df4962ec041955a7c4 (diff) | |
download | tor-aea0a78254b58783a299ee2363443bf7dada5106.tar.gz tor-aea0a78254b58783a299ee2363443bf7dada5106.zip |
make entry node logging slightly less chatty.
still quite chatty. it's an alpha, that's ok.
svn:r5775
Diffstat (limited to 'src/or/circuitbuild.c')
-rw-r--r-- | src/or/circuitbuild.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/or/circuitbuild.c b/src/or/circuitbuild.c index 0fab50c255..9253b33879 100644 --- a/src/or/circuitbuild.c +++ b/src/or/circuitbuild.c @@ -1807,7 +1807,7 @@ again: smartlist_insert(entry_nodes, 0, entry); else smartlist_add(entry_nodes, entry); - log_entry_nodes(LOG_NOTICE); + log_entry_nodes(LOG_INFO); return router; } @@ -1882,7 +1882,7 @@ remove_dead_entries(void) entry->nickname, dbuf, why, tbuf); tor_free(entry); smartlist_del_keeporder(entry_nodes, i); - log_entry_nodes(LOG_NOTICE); + log_entry_nodes(LOG_INFO); changed = 1; } else ++i; @@ -1942,7 +1942,7 @@ entry_nodes_set_status_from_directory(void) } } else { if (entry->down_since) { - notice(LD_CIRC,"Entry node '%s' is up in latest directories", + notice(LD_CIRC,"Entry node '%s' is up in latest directories.", entry->nickname); changed = 1; } @@ -1960,9 +1960,9 @@ entry_nodes_set_status_from_directory(void) changed = 1; if (changed) { - log_fn(severity, LD_CIRC, " (%d/%d entries are usable/new)", + log_fn(severity, LD_CIRC, " (%d/%d entry nodes are usable/new)", num_live_entry_nodes(), smartlist_len(entry_nodes)); - log_entry_nodes(severity); + log_entry_nodes(LOG_INFO); entry_nodes_changed(); } } @@ -2058,7 +2058,7 @@ static int should_add_entry_nodes = 0; void entry_nodes_should_be_added(void) { - notice(LD_CIRC, "New EntryNodes config option detected. Will use."); + info(LD_CIRC, "New EntryNodes config option detected. Will use."); should_add_entry_nodes = 1; } @@ -2085,8 +2085,8 @@ entry_nodes_prepend_from_config(void) 0, 1, 1); /* take a moment first to notice whether we got them all */ - notice(LD_CIRC,"Adding configured EntryNodes '%s'.", - options->EntryNodes); + info(LD_CIRC,"Adding configured EntryNodes '%s'.", + options->EntryNodes); smartlist_split_string(tmp, options->EntryNodes, ",", SPLIT_SKIP_SPACE|SPLIT_IGNORE_BLANK, 0); missed_some = smartlist_len(routers) != smartlist_len(tmp); |