diff options
author | Bart Polot <bart@net.in.tum.de> | 2014-12-15 07:18:04 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2014-12-15 07:18:04 +0000 |
commit | ce4e26155147024ecc816de20bf8471694f18011 (patch) | |
tree | c18d3c19c8db05f4f7f94c575ca226132c3db5a1 | |
parent | 8f9b85786d6c1dca1b5a9b03c64c5366db597df7 (diff) | |
download | gnunet-ce4e26155147024ecc816de20bf8471694f18011.tar.gz gnunet-ce4e26155147024ecc816de20bf8471694f18011.zip |
- make connection always log with ---, reserve === for upper levels
-rw-r--r-- | src/cadet/gnunet-service-cadet_connection.c | 6 | ||||
-rw-r--r-- | src/cadet/gnunet-service-cadet_tunnel.c | 4 |
2 files changed, 4 insertions, 6 deletions
diff --git a/src/cadet/gnunet-service-cadet_connection.c b/src/cadet/gnunet-service-cadet_connection.c index 608ae7cf0..8b1e3f505 100644 --- a/src/cadet/gnunet-service-cadet_connection.c +++ b/src/cadet/gnunet-service-cadet_connection.c | |||
@@ -813,7 +813,7 @@ send_connection_ack (struct CadetConnection *connection, int fwd) | |||
813 | struct CadetTunnel *t; | 813 | struct CadetTunnel *t; |
814 | 814 | ||
815 | t = connection->t; | 815 | t = connection->t; |
816 | LOG (GNUNET_ERROR_TYPE_INFO, "===> {%14s ACK} on connection %s\n", | 816 | LOG (GNUNET_ERROR_TYPE_INFO, "---> {%14s ACK} on connection %s\n", |
817 | GC_f2s (!fwd), GCC_2s (connection)); | 817 | GC_f2s (!fwd), GCC_2s (connection)); |
818 | GCP_queue_add (get_hop (connection, fwd), NULL, | 818 | GCP_queue_add (get_hop (connection, fwd), NULL, |
819 | GNUNET_MESSAGE_TYPE_CADET_CONNECTION_ACK, 0, 0, | 819 | GNUNET_MESSAGE_TYPE_CADET_CONNECTION_ACK, 0, 0, |
@@ -871,7 +871,7 @@ send_broken_unknown (const struct GNUNET_CADET_Hash *connection_id, | |||
871 | struct GNUNET_CADET_ConnectionBroken *msg; | 871 | struct GNUNET_CADET_ConnectionBroken *msg; |
872 | struct CadetPeer *neighbor; | 872 | struct CadetPeer *neighbor; |
873 | 873 | ||
874 | LOG (GNUNET_ERROR_TYPE_INFO, "===> BROKEN on unknown connection %s\n", | 874 | LOG (GNUNET_ERROR_TYPE_INFO, "---> BROKEN on unknown connection %s\n", |
875 | GNUNET_h2s (GC_h2hc (connection_id))); | 875 | GNUNET_h2s (GC_h2hc (connection_id))); |
876 | 876 | ||
877 | msg = GNUNET_new (struct GNUNET_CADET_ConnectionBroken); | 877 | msg = GNUNET_new (struct GNUNET_CADET_ConnectionBroken); |
@@ -3079,7 +3079,7 @@ GCC_send_create (struct CadetConnection *connection) | |||
3079 | size = sizeof (struct GNUNET_CADET_ConnectionCreate); | 3079 | size = sizeof (struct GNUNET_CADET_ConnectionCreate); |
3080 | size += connection->path->length * sizeof (struct GNUNET_PeerIdentity); | 3080 | size += connection->path->length * sizeof (struct GNUNET_PeerIdentity); |
3081 | 3081 | ||
3082 | LOG (GNUNET_ERROR_TYPE_INFO, "===> %s on connection %s (%u bytes)\n", | 3082 | LOG (GNUNET_ERROR_TYPE_INFO, "---> %s on connection %s (%u bytes)\n", |
3083 | GC_m2s (GNUNET_MESSAGE_TYPE_CADET_CONNECTION_CREATE), | 3083 | GC_m2s (GNUNET_MESSAGE_TYPE_CADET_CONNECTION_CREATE), |
3084 | GCC_2s (connection), size); | 3084 | GCC_2s (connection), size); |
3085 | LOG (GNUNET_ERROR_TYPE_DEBUG, " C_P+ %p %u (create)\n", | 3085 | LOG (GNUNET_ERROR_TYPE_DEBUG, " C_P+ %p %u (create)\n", |
diff --git a/src/cadet/gnunet-service-cadet_tunnel.c b/src/cadet/gnunet-service-cadet_tunnel.c index 554b1d1b9..dbacd59f0 100644 --- a/src/cadet/gnunet-service-cadet_tunnel.c +++ b/src/cadet/gnunet-service-cadet_tunnel.c | |||
@@ -1239,9 +1239,7 @@ send_queued_data (struct CadetTunnel *t) | |||
1239 | struct CadetTunnelDelayed *next; | 1239 | struct CadetTunnelDelayed *next; |
1240 | unsigned int room; | 1240 | unsigned int room; |
1241 | 1241 | ||
1242 | LOG (GNUNET_ERROR_TYPE_DEBUG, | 1242 | LOG (GNUNET_ERROR_TYPE_INFO, "Send queued data, tunnel %s\n", GCT_2s (t)); |
1243 | "GCT_send_queued_data on tunnel %s\n", | ||
1244 | GCT_2s (t)); | ||
1245 | 1243 | ||
1246 | if (GCT_is_loopback (t)) | 1244 | if (GCT_is_loopback (t)) |
1247 | { | 1245 | { |