]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Make DEBUG3 less noisy
authorNick Porter <nick@portercomputing.co.uk>
Wed, 29 May 2024 07:31:31 +0000 (08:31 +0100)
committerNick Porter <nick@portercomputing.co.uk>
Thu, 6 Jun 2024 10:42:04 +0000 (11:42 +0100)
src/lib/io/network.c
src/lib/io/worker.c
src/lib/unlang/interpret_synchronous.c

index 72d00cb10c9f990e01b7174c176d4397e73ed596..b79e09f4326444a0dadc777e0489ebf6f97e97db 100644 (file)
@@ -1807,9 +1807,9 @@ void fr_network(fr_network_t *nr)
                 *      Check the event list.  If there's an error
                 *      (e.g. exit), we stop looping and clean up.
                 */
-               DEBUG3("Gathering events - %s", wait_for_event ? "will wait" : "Will not wait");
+               DEBUG4("Gathering events - %s", wait_for_event ? "will wait" : "Will not wait");
                num_events = fr_event_corral(nr->el, fr_time(), wait_for_event);
-               DEBUG3("%u event(s) pending%s",
+               DEBUG4("%u event(s) pending%s",
                       num_events == -1 ? 0 : num_events, num_events == -1 ? " - event loop exiting" : "");
                if (num_events < 0) break;
 
index 3b3d974aad70419f1679ce2598ae633ae7162179..623edf9b2db60014e5acddc36913c1857b60c694 100644 (file)
@@ -1512,14 +1512,14 @@ void fr_worker(fr_worker_t *worker)
                 *      Check the event list.  If there's an error
                 *      (e.g. exit), we stop looping and clean up.
                 */
-               DEBUG3("Gathering events - %s", wait_for_event ? "will wait" : "Will not wait");
+               DEBUG4("Gathering events - %s", wait_for_event ? "will wait" : "Will not wait");
                num_events = fr_event_corral(worker->el, fr_time(), wait_for_event);
                if (num_events < 0) {
                        PERROR("Failed retrieving events");
                        break;
                }
 
-               DEBUG3("%u event(s) pending%s",
+               DEBUG4("%u event(s) pending%s",
                       num_events == -1 ? 0 : num_events, num_events == -1 ? " - event loop exiting" : "");
 
                /*
index d12359e471a84ab2e309616282dc79df6b212db2..851f77440241acd0120687dec2741e807414208e 100644 (file)
@@ -242,14 +242,14 @@ rlm_rcode_t unlang_interpret_synchronous(fr_event_list_t *el, request_t *request
                 *      failure, all kinds of bad things happen.  Oh
                 *      well.
                 */
-               DEBUG3("Gathering events - %s", dont_wait_for_event ? "Will not wait" : "will wait");
+               DEBUG4("Gathering events - %s", dont_wait_for_event ? "Will not wait" : "will wait");
                num_events = fr_event_corral(el, fr_time(), !dont_wait_for_event);
                if (num_events < 0) {
                        RPERROR("fr_event_corral");
                        break;
                }
 
-               DEBUG3("%u event(s) pending%s",
+               DEBUG4("%u event(s) pending%s",
                       num_events == -1 ? 0 : num_events, num_events == -1 ? " - event loop exiting" : "");
 
                /*
@@ -275,7 +275,7 @@ rlm_rcode_t unlang_interpret_synchronous(fr_event_list_t *el, request_t *request
                 */
                sub_request = fr_heap_pop(&intps->runnable);
                if (!sub_request) {
-                       DEBUG3("No pending requests (%u yielded)", intps->yielded);
+                       DEBUG4("No pending requests (%u yielded)", intps->yielded);
                        continue;
                }