]>
git.proxmox.com Git - pve-guest-common.git/commitdiff
projects
/
pve-guest-common.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
831a2ff
)
vzdump: always lower-case level in message logging base method
author
Thomas Lamprecht
<t.lamprecht@proxmox.com>
Wed, 5 Jul 2023 13:01:16 +0000
(15:01 +0200)
committer
Thomas Lamprecht
<t.lamprecht@proxmox.com>
Wed, 5 Jul 2023 14:21:21 +0000
(16:21 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/PVE/VZDump/Plugin.pm
patch
|
blob
|
blame
|
history
diff --git
a/src/PVE/VZDump/Plugin.pm
b/src/PVE/VZDump/Plugin.pm
index ada4c5e3f5ba857de9f5c738782c80f7dc387473..8b045880b5bff6aa3d547e9ff74e2d436d8b641e 100644
(file)
--- a/
src/PVE/VZDump/Plugin.pm
+++ b/
src/PVE/VZDump/Plugin.pm
@@
-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);