guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[shepherd] branch devel updated: herd: Show recent messages in chronolog


From: Ludovic Courtès
Subject: [shepherd] branch devel updated: herd: Show recent messages in chronological order.
Date: Tue, 19 Dec 2023 16:38:22 -0500

This is an automated email from the git hooks/post-receive script.

civodul pushed a commit to branch devel
in repository shepherd.

The following commit(s) were added to refs/heads/devel by this push:
     new 0b6d4d3  herd: Show recent messages in chronological order.
0b6d4d3 is described below

commit 0b6d4d3d3488cc8d8816a30207269930a86c6fe3
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Mon Dec 18 22:11:49 2023 +0100

    herd: Show recent messages in chronological order.
    
    * modules/shepherd/scripts/herd.scm (display-service-status): Add
    ‘reverse’ call on MESSAGES.
---
 modules/shepherd/scripts/herd.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/shepherd/scripts/herd.scm 
b/modules/shepherd/scripts/herd.scm
index 723136b..1c70ae1 100644
--- a/modules/shepherd/scripts/herd.scm
+++ b/modules/shepherd/scripts/herd.scm
@@ -308,7 +308,7 @@ transient status for too long."
                           (strftime default-logfile-date-format
                                     (localtime time))
                           line)))
-               (at-most log-history-size messages)))))
+               (reverse (at-most log-history-size messages))))))
 
 (define (display-event-log services)
   "Display status changes of @var{services} as a chronologically-sorted log."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]