[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[shepherd] 08/13: shepherd: Encode log as UTF-8 unconditionally.
From: |
Ludovic Courtès |
Subject: |
[shepherd] 08/13: shepherd: Encode log as UTF-8 unconditionally. |
Date: |
Fri, 25 Mar 2022 17:59:00 -0400 (EDT) |
civodul pushed a commit to branch wip-fibers
in repository shepherd.
commit a05ed8f654ea9002d6bfeab5a681b08d6c1536c3
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Wed Mar 23 17:03:14 2022 +0100
shepherd: Encode log as UTF-8 unconditionally.
* modules/shepherd.scm (main): Add 'set-port-encoding!' call.
---
modules/shepherd.scm | 2 ++
1 file changed, 2 insertions(+)
diff --git a/modules/shepherd.scm b/modules/shepherd.scm
index dc07f60..1c46c6b 100644
--- a/modules/shepherd.scm
+++ b/modules/shepherd.scm
@@ -357,6 +357,8 @@ already ~a threads running, disabling 'signalfd' support")
(%make-void-port "w")
(current-output-port)))))
+ (set-port-encoding! (log-output-port) "UTF-8")
+
;; Start the 'root' service.
(start root-service)
- [shepherd] 04/13: build: Capture the source and object directories of Fibers., (continued)
- [shepherd] 04/13: build: Capture the source and object directories of Fibers., Ludovic Courtès, 2022/03/25
- [shepherd] 09/13: service: 'make-forkexec-constructor' spawns a logging fiber., Ludovic Courtès, 2022/03/25
- [shepherd] 10/13: doc: Fix inetutils cross-reference., Ludovic Courtès, 2022/03/25
- [shepherd] 12/13: service: Add the #:transient? slot., Ludovic Courtès, 2022/03/25
- [shepherd] 01/13: shepherd: Factorize out the main loop., Ludovic Courtès, 2022/03/25
- [shepherd] 02/13: build: Drop support for Guile 2.0., Ludovic Courtès, 2022/03/25
- [shepherd] 03/13: Use Fibers., Ludovic Courtès, 2022/03/25
- [shepherd] 05/13: shepherd: Use one fiber for signal handling, and one for clients., Ludovic Courtès, 2022/03/25
- [shepherd] 06/13: service: 'read-pid-file' no longer blocks., Ludovic Courtès, 2022/03/25
- [shepherd] 07/13: service: 'read-pid-file' uses (@ (guile) sleep) when it's not suspendable., Ludovic Courtès, 2022/03/25
- [shepherd] 08/13: shepherd: Encode log as UTF-8 unconditionally.,
Ludovic Courtès <=
- [shepherd] 11/13: service: Remove unused 'make-init.d-service'., Ludovic Courtès, 2022/03/25
- [shepherd] 13/13: service: Add inetd constructor and destructor., Ludovic Courtès, 2022/03/25