[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[shepherd] 08/24: shepherd: Encode log as UTF-8 unconditionally.
From: |
Ludovic Courtès |
Subject: |
[shepherd] 08/24: shepherd: Encode log as UTF-8 unconditionally. |
Date: |
Mon, 28 Mar 2022 17:24:46 -0400 (EDT) |
civodul pushed a commit to branch wip-fibers
in repository shepherd.
commit fdb364ede7e315b363caeeb23fb20ac503a23111
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 a8eb238..febbfef 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] branch wip-fibers created (now 8664372), Ludovic Courtès, 2022/03/28
- [shepherd] 02/24: build: Drop support for Guile 2.0., Ludovic Courtès, 2022/03/28
- [shepherd] 03/24: Use Fibers., Ludovic Courtès, 2022/03/28
- [shepherd] 05/24: shepherd: Use one fiber for signal handling, and one for clients., Ludovic Courtès, 2022/03/28
- [shepherd] 08/24: shepherd: Encode log as UTF-8 unconditionally.,
Ludovic Courtès <=
- [shepherd] 10/24: doc: Fix inetutils cross-reference., Ludovic Courtès, 2022/03/28
- [shepherd] 12/24: service: Remove unused 'make-init.d-service'., Ludovic Courtès, 2022/03/28
- [shepherd] 13/24: service: Add the #:transient? slot., Ludovic Courtès, 2022/03/28
- [shepherd] 18/24: shepherd: Remove half-baked readline support., Ludovic Courtès, 2022/03/28
- [shepherd] 19/24: shepherd: "shepherd -s -" replies to the current output port., Ludovic Courtès, 2022/03/28
- [shepherd] 17/24: service: Add 'start-in-the-background'., Ludovic Courtès, 2022/03/28
- [shepherd] 14/24: service: Add inetd constructor and destructor., Ludovic Courtès, 2022/03/28
- [shepherd] 15/24: service: Allow 'running' value to be a thunk., Ludovic Courtès, 2022/03/28
- [shepherd] 20/24: service: Add #:handle-termination slot., Ludovic Courtès, 2022/03/28
- [shepherd] 22/24: service: 'make-inetd-constructor' lets the caller specify socket ownership., Ludovic Courtès, 2022/03/28