civodul pushed a commit to branch devel
in repository shepherd.

commit 5714ba102579171d8e70bde95b7968204a7bfd83
Author: Ludovic Courtès <l...@gnu.org>
AuthorDate: Tue Sep 24 09:19:02 2024 +0200

    herd: Default to fewer lines of recent messages.
    
    * modules/shepherd/scripts/herd.scm (%default-log-history-size): Change
    to 5.
---
 modules/shepherd/scripts/herd.scm | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/modules/shepherd/scripts/herd.scm 
b/modules/shepherd/scripts/herd.scm
index 04de40a..ab7c6f3 100644
--- a/modules/shepherd/scripts/herd.scm
+++ b/modules/shepherd/scripts/herd.scm
@@ -289,8 +289,11 @@ human-friendly way."
                    hours)))))
 
 (define %default-log-history-size
-  ;; Number of log lines displayed by default.
-  10)
+  ;; Number of log lines displayed by default.  This default value should be
+  ;; chosen such that the output of 'herd status SERVICE' isn't overwhelming
+  ;; and that messages don't become more prominent than other pieces of status
+  ;; info.
+  5)
 
 (define %default-timer-history-size
   ;; Number of timer exit statuses showed by default.

Reply via email to