]> git.proxmox.com Git - pve-guest-common.git/commit
vzdump: add common log sub-method
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 14 Dec 2017 06:58:36 +0000 (07:58 +0100)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Fri, 15 Dec 2017 11:11:22 +0000 (12:11 +0100)
commitc8a71da5ce9c4ca1962b14879008ba53ca87796e
tree000916baaf244b422d5ccfe95ef54201dcf5e042
parent8044127d7dab89534765c947b2250bfe82950936
vzdump: add common log sub-method

Add a general log method here which supports to pass on the "log to
syslog too" functionality and makes it more clear what each
parameter of logerr and logginfo means.

Further, we can now also log wlith a 'warn' level, which can be
useful to notice an backup user of a possible problem which isn't a
error per se, but may need the users attention.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
PVE/VZDump/Plugin.pm