about summary refs log tree commit diff
path: root/tvix/nar-bridge/pkg/server/nar_put.go
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2023-09-18T09·04+0300
committerflokli <flokli@flokli.de>2023-09-18T14·02+0000
commit07af692ecb1a9cabf03af1575dff7a82cf18a7ac (patch)
tree7972e3eb3969774098ec0bcc71867e33d488130e /tvix/nar-bridge/pkg/server/nar_put.go
parentdd7cc6ed689d01d14588ec09202b5aae5fb5c9a8 (diff)
refactor(tvix/nar-bridge): simplify CLI interface r/6613
Only keep the `serve` subcommand, and make it appear at the root.
Introduce a --log-level argument, and be a bit less noisy in normal
operation.

Change-Id: I86b8abde1869a5c0c947508bcc29f845222aac09
Reviewed-on: https://cl.tvl.fyi/c/depot/+/9360
Autosubmit: flokli <flokli@flokli.de>
Reviewed-by: Connor Brewster <cbrewster@hey.com>
Tested-by: BuildkiteCI
Diffstat (limited to 'tvix/nar-bridge/pkg/server/nar_put.go')
-rw-r--r--tvix/nar-bridge/pkg/server/nar_put.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tvix/nar-bridge/pkg/server/nar_put.go b/tvix/nar-bridge/pkg/server/nar_put.go
index 6d8b2bbd41ca..aecad571cdaa 100644
--- a/tvix/nar-bridge/pkg/server/nar_put.go
+++ b/tvix/nar-bridge/pkg/server/nar_put.go
@@ -60,7 +60,7 @@ func registerNarPut(s *Server) {
 			return
 		}
 
-		log.Infof("closing the stream")
+		log.Debug("closing the stream")
 
 		// Close the directories uploader
 		directoriesPutResponse, err := directoriesUploader.Done()