diff --git a/virtcontainers/fc.go b/virtcontainers/fc.go index be89a767d1..78e911de6f 100644 --- a/virtcontainers/fc.go +++ b/virtcontainers/fc.go @@ -622,6 +622,9 @@ func (fc *firecracker) fcSetLogger() error { defer span.Finish() fcLogLevel := "Error" + if fc.config.Debug { + fcLogLevel = "Debug" + } // listen to log fifo file and transfer error info jailedLogFifo, err := fc.fcListenToFifo(fcLogFifo)