diff options
author | Andrew Cady <d@jerkface.net> | 2020-08-22 09:18:42 -0400 |
---|---|---|
committer | Andrew Cady <d@jerkface.net> | 2020-08-22 09:18:42 -0400 |
commit | 3b65c8c3489910d1813d6bb9a8803536add9e921 (patch) | |
tree | 68f5f764f4df62ee8f452d417da4201a06a21937 | |
parent | 7c03915273d53bee5f25a8816181c4e82b6f7f23 (diff) |
change log levels
-rw-r--r-- | client.c | 2 | ||||
-rw-r--r-- | main.c | 8 |
2 files changed, 5 insertions, 5 deletions
@@ -314,7 +314,7 @@ void client_connected_loop_iteration(uint32_t friendnumber) | |||
314 | } | 314 | } |
315 | else | 315 | else |
316 | { | 316 | { |
317 | log_printf(L_DEBUG3, "Nothing to read..."); | 317 | log_printf(L_DEBUG4, "Nothing to read..."); |
318 | } | 318 | } |
319 | } | 319 | } |
320 | else | 320 | else |
@@ -651,7 +651,7 @@ void parse_lossless_packet(Tox *tox, uint32_t friendnumber, const uint8_t *data, | |||
651 | frame->data_length = INT16_AT(data, 6); | 651 | frame->data_length = INT16_AT(data, 6); |
652 | frame->data = (uint8_t *)(data + PROTOCOL_BUFFER_OFFSET); | 652 | frame->data = (uint8_t *)(data + PROTOCOL_BUFFER_OFFSET); |
653 | frame->friendnumber = friendnumber; | 653 | frame->friendnumber = friendnumber; |
654 | log_printf(L_DEBUG2, "Got protocol frame magic 0x%x type 0x%x from friend %d\n", frame->magic, frame->packet_type, frame->friendnumber); | 654 | log_printf(L_DEBUG4, "Got protocol frame magic 0x%x type 0x%x from friend %d\n", frame->magic, frame->packet_type, frame->friendnumber); |
655 | 655 | ||
656 | if(len < (size_t)frame->data_length + PROTOCOL_BUFFER_OFFSET) | 656 | if(len < (size_t)frame->data_length + PROTOCOL_BUFFER_OFFSET) |
657 | { | 657 | { |
@@ -1040,10 +1040,10 @@ int do_server_loop() | |||
1040 | tmp = NULL; | 1040 | tmp = NULL; |
1041 | tun = NULL; | 1041 | tun = NULL; |
1042 | 1042 | ||
1043 | log_printf(L_DEBUG2, "Starting tunnel iteration..."); | 1043 | log_printf(L_DEBUG3, "Starting tunnel iteration..."); |
1044 | HASH_ITER(hh, by_id, tun, tmp) | 1044 | HASH_ITER(hh, by_id, tun, tmp) |
1045 | { | 1045 | { |
1046 | log_printf(L_DEBUG2, "Current tunnel: %p", tun); | 1046 | log_printf(L_DEBUG3, "Current tunnel: %p", tun); |
1047 | if(FD_ISSET(tun->sockfd, &fds)) | 1047 | if(FD_ISSET(tun->sockfd, &fds)) |
1048 | { | 1048 | { |
1049 | tox_timer_do_sleep = true; | 1049 | tox_timer_do_sleep = true; |
@@ -1093,7 +1093,7 @@ int do_server_loop() | |||
1093 | } | 1093 | } |
1094 | } | 1094 | } |
1095 | } | 1095 | } |
1096 | log_printf(L_DEBUG2, "Tunnel iteration done"); | 1096 | log_printf(L_DEBUG3, "Tunnel iteration done"); |
1097 | 1097 | ||
1098 | LL_FOREACH_SAFE(tunnels_to_delete, tunnel_list_entry, list_tmp) | 1098 | LL_FOREACH_SAFE(tunnels_to_delete, tunnel_list_entry, list_tmp) |
1099 | { | 1099 | { |