Log lines for libvirt can have less than 5 elements if they don't
contain a position
@@ -441,7 +441,7 @@ func LogLibvirtLogLine(line string) {
}
fragments := strings.SplitN(line, ": ", 5)
- if len(fragments) != 5 {
+ if len(fragments) < 4 {
now := time.Now()
logger.Log(
"level", "info",
