modeled after the timestamps in vm migration
this does not impact the regression tests, because they
overwrite 'get_log_time' anyway
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
use Data::Dumper;
use JSON;
use Time::HiRes qw(gettimeofday tv_interval);
use Data::Dumper;
use JSON;
use Time::HiRes qw(gettimeofday tv_interval);
use PVE::INotify;
use PVE::ProcFSTools;
use PVE::INotify;
use PVE::ProcFSTools;
# regression tests should overwrite this
sub get_log_time {
# regression tests should overwrite this
sub get_log_time {
+ return strftime("%F %H:%M:%S", localtime);
}
# Find common base replication snapshot, available on local and remote side.
}
# Find common base replication snapshot, available on local and remote side.