]> git.kaiwu.me - haproxy.git/commit
MEDIUM: Allow suppression of email alerts by log level
authorSimon Horman <horms@verge.net.au>
Fri, 6 Feb 2015 02:11:57 +0000 (11:11 +0900)
committerWilly Tarreau <w@1wt.eu>
Fri, 6 Feb 2015 06:59:58 +0000 (07:59 +0100)
commit64e341666279446ed69176e79fc40a26b68b37d6
tree0f2097fe9c501291208152c181d79cb91671f5aa
parent00b69e08d5c95377ea6bd2f01492a4337c62d362
MEDIUM: Allow suppression of email alerts by log level

This patch adds a new option which allows configuration of the maximum
log level of messages for which email alerts will be sent.

The default is alert which is more restrictive than
the current code which sends email alerts for all priorities.
That behaviour may be configured using the new configuration
option to set the maximum level to notice or greater.

email-alert level notice

Signed-off-by: Simon Horman <horms@verge.net.au>
doc/configuration.txt
include/proto/checks.h
include/types/proxy.h
src/cfgparse.c
src/checks.c
src/server.c