[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] Make a few INFO log lines into DEBUG
Update of /home/or/cvsroot/tor/src/or
In directory moria:/tmp/cvs-serv25606/src/or
Modified Files:
circuitbuild.c command.c connection.c directory.c main.c
rendcommon.c
Log Message:
Make a few INFO log lines into DEBUG
Index: circuitbuild.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/circuitbuild.c,v
retrieving revision 1.150
retrieving revision 1.151
diff -u -d -r1.150 -r1.151
--- circuitbuild.c 17 Oct 2005 01:29:27 -0000 1.150
+++ circuitbuild.c 17 Oct 2005 02:13:36 -0000 1.151
@@ -866,7 +866,7 @@
memcpy(cell.payload, payload,
cell_type == CELL_CREATED ? ONIONSKIN_REPLY_LEN : DIGEST_LEN*2);
- log_fn(LOG_INFO,"init digest forward 0x%.8x, backward 0x%.8x.",
+ log_fn(LOG_DEBUG,"init digest forward 0x%.8x, backward 0x%.8x.",
(unsigned int)*(uint32_t*)(keys), (unsigned int)*(uint32_t*)(keys+20));
if (circuit_init_cpath_crypto(tmp_cpath, keys, 0)<0) {
log_fn(LOG_WARN,"Circuit initialization failed");
Index: command.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/command.c,v
retrieving revision 1.94
retrieving revision 1.95
diff -u -d -r1.94 -r1.95
--- command.c 17 Oct 2005 01:46:47 -0000 1.94
+++ command.c 17 Oct 2005 02:13:36 -0000 1.95
@@ -335,7 +335,7 @@
return;
}
- log_fn(LOG_INFO,"Received for circID %d.",cell->circ_id);
+ log_fn(LOG_DEBUG,"Received for circID %d.",cell->circ_id);
if (circ->state == CIRCUIT_STATE_ONIONSKIN_PENDING) {
onion_pending_remove(circ);
}
Index: connection.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/connection.c,v
retrieving revision 1.409
retrieving revision 1.410
diff -u -d -r1.409 -r1.410
--- connection.c 17 Oct 2005 01:29:27 -0000 1.409
+++ connection.c 17 Oct 2005 02:13:36 -0000 1.410
@@ -234,7 +234,7 @@
tor_free(conn->requested_resource);
if (conn->s >= 0) {
- log_fn(LOG_INFO,"closing fd %d.",conn->s);
+ log_fn(LOG_DEBUG,"closing fd %d.",conn->s);
tor_close_socket(conn->s);
}
@@ -631,7 +631,7 @@
connection_mark_for_close(conn);
return -1;
}
- log(LOG_INFO,"Connection accepted on socket %d (child of fd %d).",news, conn->s);
+ log(LOG_DEBUG,"Connection accepted on socket %d (child of fd %d).",news, conn->s);
set_socket_nonblocking(news);
@@ -1756,7 +1756,7 @@
memset(&cell, 0, sizeof(cell_t));
cell.circ_id = circ_id;
cell.command = CELL_DESTROY;
- log_fn(LOG_INFO,"Sending destroy (circID %d).", circ_id);
+ log_fn(LOG_DEBUG,"Sending destroy (circID %d).", circ_id);
connection_or_write_cell_to_buf(&cell, conn);
return 0;
}
Index: directory.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/directory.c,v
retrieving revision 1.307
retrieving revision 1.308
diff -u -d -r1.307 -r1.308
--- directory.c 14 Oct 2005 04:56:20 -0000 1.307
+++ directory.c 17 Oct 2005 02:13:36 -0000 1.308
@@ -1230,7 +1230,7 @@
write_http_status_line(conn, 400, "Bad request");
return 0;
}
- log_fn(LOG_INFO,"rewritten url as '%s'.", url);
+ log_fn(LOG_DEBUG,"rewritten url as '%s'.", url);
if (!strcmp(url,"/tor/") || !strcmp(url,"/tor/dir.z")) { /* directory fetch */
int deflated = !strcmp(url,"/tor/dir.z");
@@ -1453,7 +1453,7 @@
write_http_status_line(conn, 400, "Bad request");
return 0;
}
- log_fn(LOG_INFO,"rewritten url as '%s'.", url);
+ log_fn(LOG_DEBUG,"rewritten url as '%s'.", url);
origin = http_get_origin(headers, conn);
if (!strcmp(url,"/tor/")) { /* server descriptor post */
@@ -1556,7 +1556,7 @@
connection_stop_writing(conn);
return 0;
case DIR_CONN_STATE_SERVER_WRITING:
- log_fn(LOG_INFO,"Finished writing server response. Closing.");
+ log_fn(LOG_DEBUG,"Finished writing server response. Closing.");
connection_mark_for_close(conn);
return 0;
default:
Index: main.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/main.c,v
retrieving revision 1.580
retrieving revision 1.581
diff -u -d -r1.580 -r1.581
--- main.c 17 Oct 2005 01:29:28 -0000 1.580
+++ main.c 17 Oct 2005 02:13:36 -0000 1.581
@@ -139,7 +139,7 @@
nfds++;
- log_fn(LOG_INFO,"new conn type %s, socket %d, nfds %d.",
+ log_fn(LOG_DEBUG,"new conn type %s, socket %d, nfds %d.",
conn_type_to_string(conn->type), conn->s, nfds);
return 0;
@@ -157,7 +157,7 @@
tor_assert(conn);
tor_assert(nfds>0);
- log_fn(LOG_INFO,"removing socket %d (type %s), nfds now %d",
+ log_fn(LOG_DEBUG,"removing socket %d (type %s), nfds now %d",
conn->s, conn_type_to_string(conn->type), nfds-1);
tor_assert(conn->poll_index >= 0);
@@ -437,7 +437,7 @@
assert_connection_ok(conn, time(NULL));
assert_all_pending_dns_resolves_ok();
- log_fn(LOG_INFO,"Cleaning up connection (fd %d).",conn->s);
+ log_fn(LOG_DEBUG,"Cleaning up connection (fd %d).",conn->s);
if (conn->s >= 0 && connection_wants_to_flush(conn)) {
/* -1 means it's an incomplete edge connection, or that the socket
* has already been closed as unflushable. */
Index: rendcommon.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/rendcommon.c,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -d -r1.56 -r1.57
--- rendcommon.c 30 Sep 2005 01:09:52 -0000 1.56
+++ rendcommon.c 17 Oct 2005 02:13:36 -0000 1.57
@@ -407,7 +407,7 @@
e->desc = tor_malloc(desc_len);
memcpy(e->desc, desc, desc_len);
- log_fn(LOG_INFO,"Successfully stored rend desc '%s', len %d.",
+ log_fn(LOG_DEBUG,"Successfully stored rend desc '%s', len %d.",
safe_str(query), (int)desc_len);
return 1;
}