Skip to content

Commit

Permalink
change log statements
Browse files Browse the repository at this point in the history
  • Loading branch information
abbbi committed Oct 10, 2024
1 parent b05e8f5 commit b6e257f
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions libqmpbackup/qmpcommon.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def transaction_bitmap_add(self, node, name, **kwargs):
async def prepare_target_devices(self, devices, target_files):
"""Create the required target devices for blockev-backup
operation"""
self.log.info("Prepare backup target devices")
self.log.info("Attach backup target devices to virtual machine")
for device in devices:
target = target_files[device.node]
targetdev = f"qmpbackup-{device.node}"
Expand Down Expand Up @@ -138,7 +138,11 @@ def prepare_transaction(self, argv, devices):
)

if device.has_bitmap and argv.level in ("full") and device.format != "raw":
self.log.info("Clearing existing bitmap for device: [%s]", device.node)
self.log.info(
"Clearing existing bitmap for device: [%s:%s]",
device.node,
os.path.basename(device.filename),
)
actions.append(self.transaction_bitmap_clear(device.node, bitmap))

compress = argv.compress
Expand Down

0 comments on commit b6e257f

Please sign in to comment.