summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2007-03-06 19:33:43 +0000
committerRoger Dingledine <arma@torproject.org>2007-03-06 19:33:43 +0000
commit5217d3680e710897e281f2e03186ba66ae8c5f61 (patch)
treecc28f825f0c88e023fec53fc7b84a6477071ebf6
parent745a195b86b18faf78f2eb8230ce87a394c37d82 (diff)
downloadtor-5217d3680e710897e281f2e03186ba66ae8c5f61.tar.gz
tor-5217d3680e710897e281f2e03186ba66ae8c5f61.zip
clean up a log message, and stop calling it an error when
we exit cleanly svn:r9742
-rw-r--r--src/or/main.c2
-rw-r--r--src/or/routerlist.c6
2 files changed, 5 insertions, 3 deletions
diff --git a/src/or/main.c b/src/or/main.c
index 7c801c7ad7..c12bcb9c7e 100644
--- a/src/or/main.c
+++ b/src/or/main.c
@@ -1353,7 +1353,7 @@ signal_callback(int fd, short events, void *arg)
switch (sig)
{
case SIGTERM:
- log_err(LD_GENERAL,"Catching signal TERM, exiting cleanly.");
+ log_notice(LD_GENERAL,"Catching signal TERM, exiting cleanly.");
tor_cleanup();
exit(0);
break;
diff --git a/src/or/routerlist.c b/src/or/routerlist.c
index 7a76ae38f6..b975594474 100644
--- a/src/or/routerlist.c
+++ b/src/or/routerlist.c
@@ -2708,8 +2708,10 @@ router_get_combined_status_by_nickname(const char *nickname,
base16_encode(fp, sizeof(fp),
best->status.identity_digest, DIGEST_LEN);
log_warn(LD_CONFIG,
- "To look up a status, you specified a server \"%s\" by name, but the "
- "directory authorities do not have a binding for this nickname. "
+ "When looking up a status, you specified a server \"%s\" by name, "
+ "but the directory authorities do not have any key registered for "
+ "this nickname -- so it could be used by any server, "
+ "not just the one you meant. "
"To make sure you get the same server in the future, refer to "
"it by key, as \"$%s\".", nickname, fp);
best->name_lookup_warned = 1;