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:
@ -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);
|
||||
|
Reference in New Issue
Block a user