mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-10-28 19:22:22 +02:00
qemu: demote QEMU monitor connect and set_link logs to DEBUG
This commit is contained in:
parent
e3ce234a09
commit
b6959f8214
@ -1338,7 +1338,7 @@ class QemuVM(BaseNode):
|
|||||||
)
|
)
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
log.info(
|
log.debug(
|
||||||
f"Connected to QEMU monitor on {self._monitor_host}:{self._monitor} after {time.time() - begin:.4f} seconds"
|
f"Connected to QEMU monitor on {self._monitor_host}:{self._monitor} after {time.time() - begin:.4f} seconds"
|
||||||
)
|
)
|
||||||
return reader, writer
|
return reader, writer
|
||||||
@ -1355,7 +1355,7 @@ class QemuVM(BaseNode):
|
|||||||
|
|
||||||
result = None
|
result = None
|
||||||
if self.is_running() and self._monitor:
|
if self.is_running() and self._monitor:
|
||||||
log.info(f"Execute QEMU monitor command: {command}")
|
log.debug(f"Execute QEMU monitor command: {command}")
|
||||||
reader, writer = await self._open_qemu_monitor_connection_vm()
|
reader, writer = await self._open_qemu_monitor_connection_vm()
|
||||||
if reader is None and writer is None:
|
if reader is None and writer is None:
|
||||||
return result
|
return result
|
||||||
@ -1405,7 +1405,7 @@ class QemuVM(BaseNode):
|
|||||||
return
|
return
|
||||||
|
|
||||||
for command in commands:
|
for command in commands:
|
||||||
log.info(f"Execute QEMU monitor command: {command}")
|
log.debug(f"Execute QEMU monitor command: {command}")
|
||||||
try:
|
try:
|
||||||
cmd_byte = command.encode("ascii")
|
cmd_byte = command.encode("ascii")
|
||||||
writer.write(cmd_byte + b"\n")
|
writer.write(cmd_byte + b"\n")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user