[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[shepherd] 05/05: monitoring: Log one last time before stopping.
From: |
Ludovic Courtès |
Subject: |
[shepherd] 05/05: monitoring: Log one last time before stopping. |
Date: |
Wed, 22 Mar 2023 18:40:10 -0400 (EDT) |
civodul pushed a commit to branch master
in repository shepherd.
commit ae51b5f59e0ecc4ec2ecbd00709d46efc88f7a6d
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Wed Mar 22 22:50:47 2023 +0100
monitoring: Log one last time before stopping.
* modules/shepherd/service/monitoring.scm (run-monitoring-service): Add
call to 'log-monitoring-stats' in 'stop' message handler.
---
modules/shepherd/service/monitoring.scm | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/shepherd/service/monitoring.scm
b/modules/shepherd/service/monitoring.scm
index 338c08d..9763841 100644
--- a/modules/shepherd/service/monitoring.scm
+++ b/modules/shepherd/service/monitoring.scm
@@ -47,6 +47,7 @@
(let loop ((period period))
(match (get-message* channel period 'log)
('stop
+ (log-monitoring-stats) ;one last time
(local-output (l10n "Terminating shepherd monitoring."))
#f)
('log