From 29095647f89c3c893b1f3bf42d79c120dd8fea92 Mon Sep 17 00:00:00 2001 From: kubevirt-bot Date: Thu, 8 Aug 2024 18:43:45 +0200 Subject: [PATCH] pkg/importer: Increase number of nbdkit lines logged (#3376) 30 is far too small. For "chatty" plugins like VDDK many more debugging lines will be printed for simple open calls. For debugging it is vital that we do not lose this information. Ideally I would set this to infinity. Related: https://issues.redhat.com/browse/CNV-44894 Signed-off-by: Richard W.M. Jones Co-authored-by: Richard W.M. Jones --- pkg/importer/vddk-datasource_amd64.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/importer/vddk-datasource_amd64.go b/pkg/importer/vddk-datasource_amd64.go index c3feddf6b6..b05f068389 100644 --- a/pkg/importer/vddk-datasource_amd64.go +++ b/pkg/importer/vddk-datasource_amd64.go @@ -65,7 +65,7 @@ var newNbdKitLogWatcher = createNbdKitLogWatcher const ( nbdUnixSocket = "/tmp/nbd.sock" nbdPidFile = "/tmp/nbd.pid" - maxLogLines = 30 + maxLogLines = 1000 ) var vddkVersion string