]> git.proxmox.com Git - pmg-api.git/commit
add logging to disclaimer action
authorStoiko Ivanov <s.ivanov@proxmox.com>
Thu, 18 Jun 2020 11:33:17 +0000 (13:33 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 18 Jun 2020 16:29:47 +0000 (18:29 +0200)
commit2a30153ebc37ccf6789ccd2e9d4d12c89f698682
tree3b3a092b35e5470682e063235075ed044d0d0040
parent809eab382afff88e02bf33da757d14cc7774c3b4
add logging to disclaimer action

the disclaimer action currently does not log, if a disclaimer got added or not.
given that there are a few not directly obvious cases where a disclaimer does
not get added (e.g. it depends on the mail's encoding) - logging success or
failure should help in debugging

Tested by sending mails, where adding the disclaimer works, and where it fails.
verified that the log-tracker also adds those lines to its output.

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
src/PMG/RuleDB/Disclaimer.pm