5
0
mirror of git://git.proxmox.com/git/pve-guest-common.git synced 2025-08-27 21:49:31 +03:00

vzdump: always lower-case level in message logging base method

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht
2023-07-05 15:01:16 +02:00
parent 831a2fffb2
commit af536a40f3

View File

@ -24,7 +24,7 @@ sub debugmsg {
return if !$msg;
my $level = $log_level->{$mtype} ? $mtype : 'err';
my $level = $log_level->{lc($mtype)} ? lc($mtype) : 'err';
my $pre = $log_level->{$level};
my $timestr = strftime ("%F %H:%M:%S", CORE::localtime);