]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: server: do not emit warnings/logs/alerts on server state changes at boot
authorWilly Tarreau <w@1wt.eu>
Thu, 3 Nov 2016 18:42:36 +0000 (19:42 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 7 Nov 2016 13:31:45 +0000 (14:31 +0100)
commit6fb8dc1a5a08ed357784f46e81aaee028fbef825
tree5581967f6dbc5d6676da487b8ecf2c72dd7a43a4
parente1bde1492a30f5036ca58248e50c27a9e116d9cc
MINOR: server: do not emit warnings/logs/alerts on server state changes at boot

We'll have to use srv_set_admin_flag() to propagate some server flags
during the startup, and we don't want the resulting actions to cause
warnings, logs nor e-mail alerts to be generated since we're just applying
the config or a state file. So let's condition these notifications to the
fact that we're starting.
src/backend.c
src/server.c