]> git.proxmox.com Git - pve-guest-common.git/commitdiff
replicaiton: log rate and transport type
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 8 Apr 2020 11:27:34 +0000 (13:27 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 8 Apr 2020 11:27:34 +0000 (13:27 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
PVE/Replication.pm

index 5e76c5b39214da8330b6cf8ee25e8566dbbf96b8..b0c6db3beb967dd32beefb4a3b8674363e7f6d35 100644 (file)
@@ -312,6 +312,9 @@ sub replicate {
        my $rate = $jobcfg->{rate};
        my $insecure = $migration_type eq 'insecure';
 
+       $logfunc->("using $migration_type transmission, rate limit: "
+           . ($rate ? "$rate MByte/s" : "none"));
+
        foreach my $volid (@$sorted_volids) {
            my $base_snapname;