From bdaaa6b3e454d9e91c6d9384763e8c53d5e12fe2 Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Thu, 22 Oct 2020 14:21:19 +0100 Subject: services: guix-build-coordinator: Configure output buffering. Otherwise the logging is garbled. * gnu/services/guix.scm (make-guix-build-coordinator-start-script): Configure line output buffering for stdout and stderr. --- gnu/services/guix.scm | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gnu') diff --git a/gnu/services/guix.scm b/gnu/services/guix.scm index ac2a03147c..4afe02792f 100644 --- a/gnu/services/guix.scm +++ b/gnu/services/guix.scm @@ -200,6 +200,9 @@ (define* (make-guix-build-coordinator-start-script database-uri-string (guix-build-coordinator build-allocator) (guix-build-coordinator coordinator)) + (setvbuf (current-output-port) 'line) + (setvbuf (current-error-port) 'line) + (simple-format #t "starting the guix-build-coordinator:\n ~A\n" (current-filename)) (let* ((metrics-registry (make-metrics-registry -- cgit v1.2.3