From af550daaabeab4da5e980b647860c6f1df1b2033 Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Mon, 22 May 2023 15:28:26 +0100 Subject: Tweak logging around agent output submission --- guix-build-coordinator/agent-messaging/http.scm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/guix-build-coordinator/agent-messaging/http.scm b/guix-build-coordinator/agent-messaging/http.scm index 86c2950..304b1e5 100644 --- a/guix-build-coordinator/agent-messaging/http.scm +++ b/guix-build-coordinator/agent-messaging/http.scm @@ -376,15 +376,15 @@ (seek file-port bytes SEEK_SET) (log 'INFO "resuming upload from byte " bytes)) - (with-time-logging - (simple-format #f "sending ~A" file) - (dump-port* file-port port - #:reporter reporter))) + (dump-port* file-port port + #:reporter reporter)) #:binary #t))) #:headers `((Authorization . ,auth-value)) #:method (if bytes 'POST 'PUT) #:streaming? #t))) + (log 'DEBUG "finished sending " file) + (let loop ((line (get-line body))) (unless (eof-object? line) (report-bytes-hashed -- cgit v1.2.3