mirror of
https://github.com/percona/percona-toolkit.git
synced 2026-04-03 01:02:14 +08:00
Use UTC for log ts.
This commit is contained in:
@@ -6790,7 +6790,7 @@ sub write_to_file {
|
||||
sub _log {
|
||||
my ($level, $msg) = @_;
|
||||
$msg .= "\n" if $msg !~ m/\n$/;
|
||||
my $ts = ts(time);
|
||||
my $ts = ts(time, 1); # 1=UTC
|
||||
print "$ts $level $msg";
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user