MEDIUM: Lower priority of email alerts for log-health-checks messages
authorSimon Horman <horms@verge.net.au>
Thu, 30 Apr 2015 04:10:33 +0000 (13:10 +0900)
committerWilly Tarreau <w@1wt.eu>
Thu, 30 Apr 2015 05:30:50 +0000 (07:30 +0200)
commit7ea9be012d9d76752cfbba6c94b3672601716c4b
treee429d09f6e5eacd2a07320188435d03d58d291e6
parentf3045d2a06b68b9878ba4a1accd1a6714e0e7a9d
MEDIUM: Lower priority of email alerts for log-health-checks messages

Lower the priority of email alerts for log-health-checks messages from
LOG_NOTICE to LOG_INFO.

This is to allow set-ups with log-health-checks enabled to disable email
for health check state changes while leaving other email alerts enabled.

In order for email alerts to be sent for health check state changes
"log-health-checks" needs to be set and "email-alert level" needs to be 'info'
or lower. "email-alert mailers" and "email-alert to" settings are also
required in order for any email alerts to be sent.

A follow-up patch will document the above.

Signed-off-by: Simon Horman <horms@verge.net.au>
src/checks.c