diff options
author | Sebastian Hahn <sebastian@torproject.org> | 2010-09-16 01:13:51 +0200 |
---|---|---|
committer | Sebastian Hahn <sebastian@torproject.org> | 2010-09-16 01:13:51 +0200 |
commit | 4f1e36ca1d2c8051f6d282fadef3834b4b76462f (patch) | |
tree | 50756a042aea581e2c56cdaaab157ad7df8c9cda /src/or/relay.c | |
parent | 277295efc1689d6ce039fb474147ddf155fbf516 (diff) | |
download | tor-4f1e36ca1d2c8051f6d282fadef3834b4b76462f.tar.gz tor-4f1e36ca1d2c8051f6d282fadef3834b4b76462f.zip |
Demote a warn when enabling CellStatistics
When the CellStatistics option is off, we don't store cell insertion
times. Doing so would also not be very smart, because there seem to
still be some performance issues with this type of statistics. Nothing
harmful happens when we don't have insertion times, so we don't need to
alarm the user.
Diffstat (limited to 'src/or/relay.c')
-rw-r--r-- | src/or/relay.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/or/relay.c b/src/or/relay.c index a4f7718d90..f6f5d92fcb 100644 --- a/src/or/relay.c +++ b/src/or/relay.c @@ -2297,7 +2297,9 @@ connection_or_flush_from_first_active_circuit(or_connection_t *conn, int max, flushed = (uint32_t)((now.tv_sec % SECONDS_IN_A_DAY) * 100L + (uint32_t)now.tv_usec / (uint32_t)10000L); if (!it_queue || !it_queue->first) { - log_warn(LD_BUG, "Cannot determine insertion time of cell."); + log_info(LD_GENERAL, "Cannot determine insertion time of cell. " + "Looks like the CellStatistics option was " + "recently enabled."); } else { or_circuit_t *orcirc = TO_OR_CIRCUIT(circ); insertion_time_elem_t *elem = it_queue->first; |