]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Reduce log level for bug case that we now know really exists.
authorKarsten Loesing <karsten.loesing@gmx.net>
Mon, 31 Aug 2009 22:16:33 +0000 (00:16 +0200)
committerKarsten Loesing <karsten.loesing@gmx.net>
Mon, 31 Aug 2009 22:16:33 +0000 (00:16 +0200)
src/or/rendclient.c

index 5e3c20e807aa3fd8ff06db4c0e2ca04d076defe7..3dd77a854b517731bcb5e97364a3d53c2c676043 100644 (file)
@@ -94,10 +94,14 @@ rend_client_send_introduction(origin_circuit_t *introcirc,
       }
     });
     if (!intro_key) {
+      /** XXX This case probably means that the intro point vanished while
+       * we were building a circuit to it. In the future, we should find
+       * out how that happened and whether we should kill the circuits to
+       * removed intro points immediately. See task 1073. */
       int num_intro_points = smartlist_len(entry->parsed->intro_nodes);
       if (rend_cache_lookup_entry(introcirc->rend_data->onion_address,
           0, &entry) > 0) {
-        log_warn(LD_BUG, "We have both a v0 and a v2 rend desc for this "
+        log_info(LD_REND, "We have both a v0 and a v2 rend desc for this "
                  "service. The v2 desc doesn't contain the introduction "
                  "point (and key) to send an INTRODUCE1/2 cell to this "
                  "introduction point. Assuming the introduction point "
@@ -108,7 +112,7 @@ rend_client_send_introduction(origin_circuit_t *introcirc,
         /* See flyspray task 1024. */
         intro_key = entry->parsed->pk;
       } else {
-        log_warn(LD_BUG, "Internal error: could not find intro key; we "
+        log_info(LD_REND, "Internal error: could not find intro key; we "
                  "only have a v2 rend desc with %d intro points.",
                  num_intro_points);
         goto err;