Downgrade the "we launched 10 circuits for this stream" message. (See bug 3080)

This commit is contained in:
Nick Mathewson 2011-05-12 19:41:08 -04:00
parent 98870f2ead
commit e0d5a6e184

View File

@ -1416,7 +1416,7 @@ circuit_get_open_circ_or_launch(edge_connection_t *conn,
* a bad sign: we should tell the user. */ * a bad sign: we should tell the user. */
if (conn->num_circuits_launched < NUM_CIRCUITS_LAUNCHED_THRESHOLD && if (conn->num_circuits_launched < NUM_CIRCUITS_LAUNCHED_THRESHOLD &&
++conn->num_circuits_launched == NUM_CIRCUITS_LAUNCHED_THRESHOLD) ++conn->num_circuits_launched == NUM_CIRCUITS_LAUNCHED_THRESHOLD)
log_warn(LD_BUG, "The application request to %s:%d has launched " log_info(LD_CIRC, "The application request to %s:%d has launched "
"%d circuits without finding one it likes.", "%d circuits without finding one it likes.",
escaped_safe_str_client(conn->socks_request->address), escaped_safe_str_client(conn->socks_request->address),
conn->socks_request->port, conn->socks_request->port,