Browse Source

clean up a log message, and stop calling it an error when
we exit cleanly


svn:r9742

Roger Dingledine 18 years ago
parent
commit
5217d3680e
2 changed files with 5 additions and 3 deletions
  1. 1 1
      src/or/main.c
  2. 4 2
      src/or/routerlist.c

+ 1 - 1
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;

+ 4 - 2
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;