[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[shepherd] 13/32: shepherd: Encode log as UTF-8 unconditionally.
From: |
Ludovic Courtès |
Subject: |
[shepherd] 13/32: shepherd: Encode log as UTF-8 unconditionally. |
Date: |
Wed, 30 Mar 2022 11:01:30 -0400 (EDT) |
civodul pushed a commit to branch master
in repository shepherd.
commit c3bd434633d8a61b7f58195ba9d4e157fd9b27ac
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 master updated (6be3ce1 -> cf78dd4), Ludovic Courtès, 2022/03/30
- [shepherd] 04/32: README: Update bug-report section., Ludovic Courtès, 2022/03/30
- [shepherd] 06/32: build: Drop support for Guile 2.0., Ludovic Courtès, 2022/03/30
- [shepherd] 01/32: tests: Remove 'nofiles' test file when cleaning up., Ludovic Courtès, 2022/03/30
- [shepherd] 02/32: README: Mention copyright year ranges., Ludovic Courtès, 2022/03/30
- [shepherd] 03/32: Remove 'QUESTIONS' file., Ludovic Courtès, 2022/03/30
- [shepherd] 07/32: Use Fibers., Ludovic Courtès, 2022/03/30
- [shepherd] 13/32: shepherd: Encode log as UTF-8 unconditionally.,
Ludovic Courtès <=
- [shepherd] 14/32: service: 'make-forkexec-constructor' spawns a logging fiber., Ludovic Courtès, 2022/03/30
- [shepherd] 08/32: README: Update requirements., Ludovic Courtès, 2022/03/30
- [shepherd] 21/32: service: Add systemd constructor and destructor., Ludovic Courtès, 2022/03/30
- [shepherd] 22/32: service: Add 'start-in-the-background'., Ludovic Courtès, 2022/03/30
- [shepherd] 25/32: service: Add #:handle-termination slot., Ludovic Courtès, 2022/03/30
- [shepherd] 28/32: shepherd: Do not change to the client directory when executing a command., Ludovic Courtès, 2022/03/30
- [shepherd] 31/32: doc: Clarify which instance 'herd' talks to., Ludovic Courtès, 2022/03/30
- [shepherd] 09/32: build: Capture the source and object directories of Fibers., Ludovic Courtès, 2022/03/30
- [shepherd] 11/32: service: 'read-pid-file' no longer blocks., Ludovic Courtès, 2022/03/30
- [shepherd] 10/32: shepherd: Use one fiber for signal handling, and one for clients., Ludovic Courtès, 2022/03/30