diff options
author | Roger Dingledine <arma@torproject.org> | 2005-05-03 10:04:08 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2005-05-03 10:04:08 +0000 |
commit | 5265bbd2b8f4a28f26eabb48a4d167b765780b26 (patch) | |
tree | 9e3ee23068a617dc137f0fa203adb8b21c8a8c30 /src/or/command.c | |
parent | b35f7dacef6b5e4215dfba9a4088a73421fb103c (diff) | |
download | tor-5265bbd2b8f4a28f26eabb48a4d167b765780b26.tar.gz tor-5265bbd2b8f4a28f26eabb48a4d167b765780b26.zip |
first iteration of scrubbing sensitive strings from logs.
also generally clean up log messages.
svn:r4174
Diffstat (limited to 'src/or/command.c')
-rw-r--r-- | src/or/command.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/or/command.c b/src/or/command.c index 5f5fd5f3ac..fe476d4af3 100644 --- a/src/or/command.c +++ b/src/or/command.c @@ -265,7 +265,7 @@ static void command_process_relay_cell(cell_t *cell, connection_t *conn) { circ = circuit_get_by_circid_orconn(cell->circ_id, conn); if (!circ) { - log_fn(LOG_INFO,"unknown circuit %d on connection to %s:%d. Dropping.", + log_fn(LOG_INFO,"unknown circuit %d on connection from %s:%d. Dropping.", cell->circ_id, conn->address, conn->port); return; } @@ -310,7 +310,7 @@ static void command_process_destroy_cell(cell_t *cell, connection_t *conn) { circ = circuit_get_by_circid_orconn(cell->circ_id, conn); if (!circ) { - log_fn(LOG_INFO,"unknown circuit %d on connection to %s:%d. Dropping.", + log_fn(LOG_INFO,"unknown circuit %d on connection from %s:%d. Dropping.", cell->circ_id, conn->address, conn->port); return; } @@ -335,3 +335,4 @@ static void command_process_destroy_cell(cell_t *cell, connection_t *conn) { } } } + |