[pve-devel] [PATCH guest-common v3 1/1] replication: remove logging when freezing/thawing
Fiona Ebner
f.ebner at proxmox.com
Thu Dec 4 15:03:11 CET 2025
Am 14.10.25 um 2:27 PM schrieb Maximiliano Sandoval:
> This is handled now by the class' __snapshot_freeze.
>
> Signed-off-by: Maximiliano Sandoval <m.sandoval at proxmox.com>
> ---
> src/PVE/Replication.pm | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/src/PVE/Replication.pm b/src/PVE/Replication.pm
> index ba4c2c1..1b31ae2 100644
> --- a/src/PVE/Replication.pm
> +++ b/src/PVE/Replication.pm
> @@ -376,7 +376,6 @@ sub replicate {
>
> # freeze filesystem for data consistency
> if ($freezefs) {
> - $logfunc->("freeze guest filesystem");
> $guest_class->__snapshot_freeze($vmid, 0);
> }
>
> @@ -395,7 +394,6 @@ sub replicate {
>
> # thaw immediately
> if ($freezefs) {
> - $logfunc->("thaw guest filesystem");
> $guest_class->__snapshot_freeze($vmid, 1);
> }
>
Using $logfunc->() makes those messages be part of the replication log,
while the ones with 'print' in the $guest_class will not be.
More information about the pve-devel
mailing list