From: Jeremy Harris Date: Thu, 4 Jan 2024 22:29:59 +0000 (+0000) Subject: Report two-phase queue run in daemon startup log line X-Git-Url: https://git.exim.org/exim.git/commitdiff_plain/4f1d6cb9b60f4d26c0654eba8889c04079d046d2 Report two-phase queue run in daemon startup log line --- diff --git a/doc/doc-txt/ChangeLog b/doc/doc-txt/ChangeLog index 21c84e091..c745d4228 100644 --- a/doc/doc-txt/ChangeLog +++ b/doc/doc-txt/ChangeLog @@ -76,6 +76,9 @@ JH/15 Bug 3061: Ensure a log line is written for a malformed address in a header, when parsing for address-qualification. Previously one was only written if there were rewrite rules. +JH/16 Two-phase queue runs are now reported in the daemon startup log line and + in exiwhat output. + Exim version 4.97 ----------------- diff --git a/src/src/daemon.c b/src/src/daemon.c index aff05120a..704ede24e 100644 --- a/src/src/daemon.c +++ b/src/src/daemon.c @@ -1654,7 +1654,7 @@ return 0; -const uschar * +static const uschar * describe_queue_runners(void) { gstring * g = NULL; @@ -1664,6 +1664,7 @@ if (!is_multiple_qrun()) return US"no queue runs"; for (qrunner * q = qrunners; q; q = q->next) { g = string_catn(g, US"-q", 2); + if (q->queue_2stage) g = string_catn(g, US"q", 1); if (q->name) g = string_append(g, 3, US"G", q->name, US"/"); g = string_cat(g, readconf_printtime(q->interval)); g = string_catn(g, US" ", 1);