stop generating a 6-gig info-level log file after a day of running

svn:r10023
This commit is contained in:
Roger Dingledine 2007-04-25 06:10:16 +00:00
parent 5bdb138d11
commit 7b11f2c843

View File

@ -1833,7 +1833,7 @@ connection_or_flush_from_first_active_circuit(or_connection_t *conn, int max)
/* Did we just ran out of cells on this queue? */
if (queue->n == 0) {
log_info(LD_GENERAL, "Made a circuit inactive.");
log_debug(LD_GENERAL, "Made a circuit inactive.");
make_circuit_inactive_on_conn(circ, conn);
}
return n_flushed;
@ -1866,7 +1866,7 @@ append_cell_to_circuit_queue(circuit_t *circ, or_connection_t *orconn,
if (queue->n == 1) {
/* This was the first cell added to the queue. We need to make this
* circuit active. */
log_info(LD_GENERAL, "Made a circuit active.");
log_debug(LD_GENERAL, "Made a circuit active.");
make_circuit_active_on_conn(circ, orconn);
}
@ -1875,7 +1875,7 @@ append_cell_to_circuit_queue(circuit_t *circ, or_connection_t *orconn,
* cell, so that we can notice when it gets flushed, flushed_some can
* get called, and we can start putting more data onto the buffer then.
*/
log_info(LD_GENERAL, "Primed a buffer.");
log_debug(LD_GENERAL, "Primed a buffer.");
connection_or_flush_from_first_active_circuit(orconn, 1);
}
}