From 3b65c8c3489910d1813d6bb9a8803536add9e921 Mon Sep 17 00:00:00 2001 From: Andrew Cady Date: Sat, 22 Aug 2020 09:18:42 -0400 Subject: change log levels --- client.c | 2 +- main.c | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/client.c b/client.c index 1359e31..5d8e2af 100644 --- a/client.c +++ b/client.c @@ -314,7 +314,7 @@ void client_connected_loop_iteration(uint32_t friendnumber) } else { - log_printf(L_DEBUG3, "Nothing to read..."); + log_printf(L_DEBUG4, "Nothing to read..."); } } else diff --git a/main.c b/main.c index 84561b8..670a311 100644 --- a/main.c +++ b/main.c @@ -651,7 +651,7 @@ void parse_lossless_packet(Tox *tox, uint32_t friendnumber, const uint8_t *data, frame->data_length = INT16_AT(data, 6); frame->data = (uint8_t *)(data + PROTOCOL_BUFFER_OFFSET); frame->friendnumber = friendnumber; - log_printf(L_DEBUG2, "Got protocol frame magic 0x%x type 0x%x from friend %d\n", frame->magic, frame->packet_type, frame->friendnumber); + log_printf(L_DEBUG4, "Got protocol frame magic 0x%x type 0x%x from friend %d\n", frame->magic, frame->packet_type, frame->friendnumber); if(len < (size_t)frame->data_length + PROTOCOL_BUFFER_OFFSET) { @@ -1040,10 +1040,10 @@ int do_server_loop() tmp = NULL; tun = NULL; - log_printf(L_DEBUG2, "Starting tunnel iteration..."); + log_printf(L_DEBUG3, "Starting tunnel iteration..."); HASH_ITER(hh, by_id, tun, tmp) { - log_printf(L_DEBUG2, "Current tunnel: %p", tun); + log_printf(L_DEBUG3, "Current tunnel: %p", tun); if(FD_ISSET(tun->sockfd, &fds)) { tox_timer_do_sleep = true; @@ -1093,7 +1093,7 @@ int do_server_loop() } } } - log_printf(L_DEBUG2, "Tunnel iteration done"); + log_printf(L_DEBUG3, "Tunnel iteration done"); LL_FOREACH_SAFE(tunnels_to_delete, tunnel_list_entry, list_tmp) { -- cgit v1.2.3