]> git.proxmox.com Git - pve-common.git/commit - src/PVE/SafeSyslog.pm
syslog: interpret priority level 'warn' correctly
authorFiona Ebner <f.ebner@proxmox.com>
Wed, 14 Jun 2023 13:05:58 +0000 (15:05 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 14 Jun 2023 15:43:13 +0000 (17:43 +0200)
commitd4218592e562a9914aa6491c0647858646688931
treea4f3e3d3ba541854d0eca8500aafd4f61cdc3772
parent203699028791dc1254f25583ede43494c0d86372
syslog: interpret priority level 'warn' correctly

There are some use sites, e.g. HA manager, pvescheduler that
incorrectly use priority level 'warn'. Likely because that is allowed
for some other log helpers in the codebase. Instead of fixing them all
one-by-one, simply allow 'warn' as a priority too.

Suggested-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
src/PVE/SafeSyslog.pm