@@ -304,7 +304,7 @@ class kvm_spawn:
# Print some debugging info
if match == None and self.poll() != 0:
- logging.debug("Timeout elapsed or process terminated. Output:",
+ logging.debug("Timeout elapsed or process terminated. Output:%s",
format_str_for_message(data.strip()))
return (match, data)
@@ -465,8 +465,8 @@ class kvm_spawn:
# Print some debugging info
if status != 0:
- logging.debug("Command failed; status: %d, output:" % status \
- + format_str_for_message(output.strip()))
+ logging.debug("Command failed; status: %d, output:%s", status,
+ format_str_for_message(output.strip()))
return (status, output)