diff --git a/checkin_notes b/checkin_notes index c58c053118..ebb21ebf1c 100755 --- a/checkin_notes +++ b/checkin_notes @@ -5681,4 +5681,11 @@ David 1 June 2007 lib/ diagnostics_sin.h - procinfo.h \ No newline at end of file + procinfo.h + +David 1 June 2007 + - client: a few more network_status_debug messages + + client/ + client_state.C + net_stats.C diff --git a/client/client_state.C b/client/client_state.C index ebbdfa21a2..de08e9b8d6 100644 --- a/client/client_state.C +++ b/client/client_state.C @@ -442,6 +442,12 @@ bool CLIENT_STATE::poll_slow_events() { now = dtime(); if (now - old_now > POLL_INTERVAL*10) { + if (log_flags.network_status_debug) { + msg_printf(0, MSG_INFO, + "[network_status_debug] woke up after %f seconds", + now - old_now + ); + } last_wakeup_time = now; } diff --git a/client/net_stats.C b/client/net_stats.C index d8113ce7bc..209eb6288b 100644 --- a/client/net_stats.C +++ b/client/net_stats.C @@ -222,6 +222,11 @@ void NET_STATUS::got_http_error() { // for 30 seconds after wakeup, the network system (DNS etc.) // may still be coming up, so don't worry for now ) { + if (log_flags.network_status_debug) { + msg_printf(0, MSG_INFO, + "[network_status_debug] got http error and not still waking up" + ); + } need_to_contact_reference_site = true; show_ref_message = true; }